protected void bindPhoneNumber(ContactListItemView view, Cursor cursor) { CharSequence label = null; if (!cursor.isNull(PHONE_TYPE_COLUMN_INDEX)) { final int type = cursor.getInt(PHONE_TYPE_COLUMN_INDEX); final String customLabel = cursor.getString(PHONE_LABEL_COLUMN_INDEX); // TODO cache label = Phone.getTypeLabel(getContext().getResources(), type, customLabel); } view.setLabel(label); view.showData(cursor, PHONE_NUMBER_COLUMN_INDEX); }