Home
last modified time | relevance | path

Searched refs:oldAdapter (Results 1 – 5 of 5) sorted by relevance

/frameworks/support/v4/java/android/support/v4/view/
DPagerTitleStrip.java315 void updateAdapter(PagerAdapter oldAdapter, PagerAdapter newAdapter) { in updateAdapter() argument
316 if (oldAdapter != null) { in updateAdapter()
317 oldAdapter.unregisterDataSetObserver(mPageListener); in updateAdapter()
500 public void onAdapterChanged(PagerAdapter oldAdapter, PagerAdapter newAdapter) { in onAdapterChanged() argument
501 updateAdapter(oldAdapter, newAdapter); in onAdapterChanged()
DViewPager.java339 public void onAdapterChanged(PagerAdapter oldAdapter, PagerAdapter newAdapter); in onAdapterChanged() argument
427 final PagerAdapter oldAdapter = mAdapter; in setAdapter() local
453 if (mAdapterChangeListener != null && oldAdapter != adapter) { in setAdapter()
454 mAdapterChangeListener.onAdapterChanged(oldAdapter, adapter); in setAdapter()
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/
DRecyclerViewBasicTest.java222 public void onAdapterChanged(RecyclerView.Adapter oldAdapter, in onAdapterChanged() argument
224 super.onAdapterChanged(oldAdapter, newAdapter); in onAdapterChanged()
225 mPrevAdapter = oldAdapter; in onAdapterChanged()
/frameworks/support/v7/recyclerview/src/android/support/v7/widget/
DRecyclerView.java644 final Adapter oldAdapter = mAdapter; in setAdapterInternal() local
651 mLayout.onAdapterChanged(oldAdapter, mAdapter); in setAdapterInternal()
653 mRecycler.onAdapterChanged(oldAdapter, mAdapter, compatibleWithPrevious); in setAdapterInternal()
3396 void onAdapterChanged(Adapter oldAdapter, Adapter newAdapter, in onAdapterChanged() argument
3398 if (oldAdapter != null) { in onAdapterChanged()
4122 void onAdapterChanged(Adapter oldAdapter, Adapter newAdapter, in onAdapterChanged() argument
4125 getRecycledViewPool().onAdapterChanged(oldAdapter, newAdapter, compatibleWithPrevious); in onAdapterChanged()
6236 public void onAdapterChanged(Adapter oldAdapter, Adapter newAdapter) { in onAdapterChanged() argument
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/
DGridLayoutManager.java2748 public void onAdapterChanged(RecyclerView.Adapter oldAdapter,
2751 if (oldAdapter != null) {
2757 super.onAdapterChanged(oldAdapter, newAdapter);