Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit c70342b6 authored by Brian Attwell's avatar Brian Attwell Committed by Android Git Automerger
Browse files

am 56151b82: Use semi-stable ids in Contact lists

* commit '56151b82':
  Use semi-stable ids in Contact lists
parents 10086d2b 56151b82
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -135,6 +135,7 @@ public class EmailAddressListAdapter extends ContactEntryListAdapter {
        ContactListItemView view = (ContactListItemView)itemView;
        bindSectionHeaderAndDivider(view, position);
        bindName(view, cursor);
        bindViewId(view, cursor, EmailQuery.EMAIL_ID);
        bindPhoto(view, cursor);
        bindEmailAddress(view, cursor);
    }
+2 −2
Original line number Diff line number Diff line
@@ -187,14 +187,14 @@ public class JoinContactListAdapter extends ContactListAdapter {
                final ContactListItemView view = (ContactListItemView) itemView;
                view.setSectionHeader(null);
                bindPhoto(view, partition, cursor);
                bindName(view, cursor);
                bindNameAndViewId(view, cursor);
                break;
            }
            case PARTITION_ALL_CONTACTS: {
                final ContactListItemView view = (ContactListItemView) itemView;
                bindSectionHeaderAndDivider(view, position, cursor);
                bindPhoto(view, partition, cursor);
                bindName(view, cursor);
                bindNameAndViewId(view, cursor);
                break;
            }
        }
+1 −0
Original line number Diff line number Diff line
@@ -84,6 +84,7 @@ public class LegacyContactListAdapter extends ContactEntryListAdapter {
    protected void bindView(View itemView, int partition, Cursor cursor, int position) {
        ContactListItemView view = (ContactListItemView)itemView;
        bindName(view, cursor);
        bindViewId(view, cursor, PERSON_ID_COLUMN_INDEX);
        bindPresence(view, cursor);
    }

+1 −0
Original line number Diff line number Diff line
@@ -89,6 +89,7 @@ public class LegacyPhoneNumberListAdapter extends ContactEntryListAdapter {
    protected void bindView(View itemView, int partition, Cursor cursor, int position) {
        ContactListItemView view = (ContactListItemView)itemView;
        bindName(view, cursor);
        bindViewId(view, cursor, PHONE_ID_COLUMN_INDEX);
        bindPhoneNumber(view, cursor);
    }

+1 −0
Original line number Diff line number Diff line
@@ -89,6 +89,7 @@ public class LegacyPostalAddressListAdapter extends ContactEntryListAdapter {
    protected void bindView(View itemView, int partition, Cursor cursor, int position) {
        ContactListItemView view = (ContactListItemView)itemView;
        bindName(view, cursor);
        bindViewId(view, cursor, POSTAL_ID_COLUMN_INDEX);
        bindPostalAddress(view, cursor);
    }

Loading