/** * Toggle the visibility of contact list items in the contact lists for them to be tracked by the * transition manager for pending explode transition. */ private void toggleContactListItemsVisibilityForPendingTransition(final boolean show) { if (!OsUtil.isAtLeastL()) { // Explode animation is not supported pre-L. return; } mAllContactsListViewHolder.toggleVisibilityForPendingTransition(show, mPendingExplodeView); mFrequentContactsListViewHolder.toggleVisibilityForPendingTransition(show, mPendingExplodeView); }
private void invalidateContactLists() { mAllContactsListViewHolder.invalidateList(); mFrequentContactsListViewHolder.invalidateList(); }
@Override // From ContactPickerDataListener public void onAllContactsCursorUpdated(final Cursor data) { mBinding.ensureBound(); mAllContactsListViewHolder.onContactsCursorUpdated(data); }