@Override // From ContactPickerDataListener public void onFrequentContactsCursorUpdated(final Cursor data) { mBinding.ensureBound(); mFrequentContactsListViewHolder.onContactsCursorUpdated(data); if (data != null && data.getCount() == 0) { // Show the all contacts list when there's no frequents. mCustomHeaderViewPager.setCurrentItem(1); } }
@Override public void onContactCustomColorLoaded(final ContactPickerData data) { mBinding.ensureBound(data); invalidateContactLists(); }
@Override // From ContactPickerDataListener public void onAllContactsCursorUpdated(final Cursor data) { mBinding.ensureBound(); mAllContactsListViewHolder.onContactsCursorUpdated(data); }