Пример #1
0
 @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);
   }
 }
Пример #2
0
 @Override
 public void onContactCustomColorLoaded(final ContactPickerData data) {
   mBinding.ensureBound(data);
   invalidateContactLists();
 }
Пример #3
0
 @Override // From ContactPickerDataListener
 public void onAllContactsCursorUpdated(final Cursor data) {
   mBinding.ensureBound();
   mAllContactsListViewHolder.onContactsCursorUpdated(data);
 }