Merge "DO NOT MERGE ListView eill always show dividers below items if all items in the adapter are enabled." into ics-mr1

This commit is contained in:
Mindy Pereira 2011-11-18 12:13:16 -08:00 committed by Android (Google) Code Review
commit d22cf7bda7

View File

@ -191,6 +191,13 @@ class MailboxFragmentAdapter extends CursorAdapter {
return !isHeader(position);
}
// The LabelList has headers which are not
// enabled.
@Override
public boolean areAllItemsEnabled() {
return false;
}
@Override
public void bindView(View view, Context context, Cursor cursor) {
if (view instanceof MailboxListItem) {