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

Commit c9e81071 authored by Brian Attwell's avatar Brian Attwell
Browse files

Call super.bindView() in list subclasses

Bug: 17506125
Change-Id: Ic3b0227b6fb7095196e6489d838988b442f652a3
parent 39937e3a
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -132,6 +132,7 @@ public class EmailAddressListAdapter extends ContactEntryListAdapter {

    @Override
    protected void bindView(View itemView, int partition, Cursor cursor, int position) {
        super.bindView(itemView, partition, cursor, position);
        ContactListItemView view = (ContactListItemView)itemView;
        bindSectionHeaderAndDivider(view, position);
        bindName(view, cursor);
+1 −0
Original line number Diff line number Diff line
@@ -182,6 +182,7 @@ public class JoinContactListAdapter extends ContactListAdapter {

    @Override
    protected void bindView(View itemView, int partition, Cursor cursor, int position) {
        super.bindView(itemView, partition, cursor, position);
        switch (partition) {
            case PARTITION_SUGGESTIONS: {
                final ContactListItemView view = (ContactListItemView) itemView;
+1 −0
Original line number Diff line number Diff line
@@ -82,6 +82,7 @@ public class LegacyContactListAdapter extends ContactEntryListAdapter {

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

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

    @Override
    protected void bindView(View itemView, int partition, Cursor cursor, int position) {
        super.bindView(itemView, partition, cursor, position);
        ContactListItemView view = (ContactListItemView)itemView;
        bindName(view, cursor);
        bindViewId(view, cursor, POSTAL_ID_COLUMN_INDEX);
Loading