public
static
interface
GridViewPager.OnAdapterChangeListener
android.support.wearable.view.GridViewPager.OnAdapterChangeListener |
![]() |
Callback interface for responding to a replaced or removed adapter.
Public methods | |
---|---|
abstract
void
|
onAdapterChanged(GridPagerAdapter oldAdapter, GridPagerAdapter newAdapter)
Called when the adapter is changed with |
abstract
void
|
onDataSetChanged()
Called when a change is made to the content of the current adapter. |
void onAdapterChanged (GridPagerAdapter oldAdapter, GridPagerAdapter newAdapter)
Called when the adapter is changed with setAdapter(GridPagerAdapter)
.
Parameters | |
---|---|
oldAdapter |
GridPagerAdapter
|
newAdapter |
GridPagerAdapter
|
void onDataSetChanged ()
Called when a change is made to the content of the current adapter.