Added a comment about why we're setting a click handler

This commit is contained in:
Jesse Vincent 2010-01-09 23:49:36 +00:00
parent fb223ea61d
commit e49fdc9913

View file

@ -314,6 +314,8 @@ public class MessageList
}
else if (mSelectedWidget == WIDGET_MULTISELECT)
{
// In multiselect mode make sure that clicking on the item results in
// toggling the 'selected' checkbox
CheckBox selected = (CheckBox) v.findViewById(R.id.selected_checkbox);
selected.setChecked(!selected.isChecked());
}