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:
commit
d22cf7bda7
@ -191,6 +191,13 @@ class MailboxFragmentAdapter extends CursorAdapter {
|
|||||||
return !isHeader(position);
|
return !isHeader(position);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// The LabelList has headers which are not
|
||||||
|
// enabled.
|
||||||
|
@Override
|
||||||
|
public boolean areAllItemsEnabled() {
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void bindView(View view, Context context, Cursor cursor) {
|
public void bindView(View view, Context context, Cursor cursor) {
|
||||||
if (view instanceof MailboxListItem) {
|
if (view instanceof MailboxListItem) {
|
||||||
|
Loading…
Reference in New Issue
Block a user