use of com.android.contacts.common.list.ContactListItemView in project packages_apps_Contacts by AOKP.
the class LegacyContactListAdapter method newView.
@Override
protected ContactListItemView newView(Context context, int partition, Cursor cursor, int position, ViewGroup parent) {
final ContactListItemView view = new ContactListItemView(context, null);
view.setUnknownNameText(mUnknownNameText);
return view;
}
use of com.android.contacts.common.list.ContactListItemView in project packages_apps_Contacts by AOKP.
the class LegacyPostalAddressListAdapter method newView.
@Override
protected ContactListItemView newView(Context context, int partition, Cursor cursor, int position, ViewGroup parent) {
final ContactListItemView view = new ContactListItemView(context, null);
view.setUnknownNameText(mUnknownNameText);
return view;
}
use of com.android.contacts.common.list.ContactListItemView in project packages_apps_Contacts by AOKP.
the class LegacyPostalAddressListAdapter method bindView.
@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);
bindPostalAddress(view, cursor);
}
use of com.android.contacts.common.list.ContactListItemView in project packages_apps_Contacts by AOKP.
the class MultiSelectEntryContactListAdapter method bindView.
@Override
protected void bindView(View itemView, int partition, Cursor cursor, int position) {
super.bindView(itemView, partition, cursor, position);
final ContactListItemView view = (ContactListItemView) itemView;
bindCheckBox(view, cursor, position, partition == ContactsContract.Directory.DEFAULT);
}
Aggregations