public
static
interface
ViewPager.OnAdapterChangeListener
android.support.v4.view.ViewPager.OnAdapterChangeListener |
Callback interface for responding to adapter changes.
Public methods | |
---|---|
abstract
void
|
onAdapterChanged(ViewPager viewPager, PagerAdapter oldAdapter, PagerAdapter newAdapter)
Called when the adapter for the given view pager has changed. |
void onAdapterChanged (ViewPager viewPager, PagerAdapter oldAdapter, PagerAdapter newAdapter)
Called when the adapter for the given view pager has changed.
Parameters | |
---|---|
viewPager |
ViewPager :
ViewPager where the adapter change has happened |
oldAdapter |
PagerAdapter :
the previously set adapter |
newAdapter |
PagerAdapter :
the newly set adapter
|