Searched refs:mAdapterChangeListeners (Results 1 – 1 of 1) sorted by relevance
242 private List<OnAdapterChangeListener> mAdapterChangeListeners; field in ViewPager547 if (mAdapterChangeListeners != null && !mAdapterChangeListeners.isEmpty()) { in setAdapter()548 for (int i = 0, count = mAdapterChangeListeners.size(); i < count; i++) { in setAdapter()549 mAdapterChangeListeners.get(i).onAdapterChanged(this, oldAdapter, adapter); in setAdapter()581 if (mAdapterChangeListeners == null) { in addOnAdapterChangeListener()582 mAdapterChangeListeners = new ArrayList<>(); in addOnAdapterChangeListener()584 mAdapterChangeListeners.add(listener); in addOnAdapterChangeListener()594 if (mAdapterChangeListeners != null) { in removeOnAdapterChangeListener()595 mAdapterChangeListeners.remove(listener); in removeOnAdapterChangeListener()