Searched refs:mAdapterChangeListeners (Results 1 – 1 of 1) sorted by relevance
242 private List<OnAdapterChangeListener> mAdapterChangeListeners; field in ViewPager545 if (mAdapterChangeListeners != null && !mAdapterChangeListeners.isEmpty()) { in setAdapter()546 for (int i = 0, count = mAdapterChangeListeners.size(); i < count; i++) { in setAdapter()547 mAdapterChangeListeners.get(i).onAdapterChanged(this, oldAdapter, adapter); in setAdapter()578 if (mAdapterChangeListeners == null) { in addOnAdapterChangeListener()579 mAdapterChangeListeners = new ArrayList<>(); in addOnAdapterChangeListener()581 mAdapterChangeListeners.add(listener); in addOnAdapterChangeListener()591 if (mAdapterChangeListeners != null) { in removeOnAdapterChangeListener()592 mAdapterChangeListeners.remove(listener); in removeOnAdapterChangeListener()