Google 致力于为黑人社区推动种族平等。查看具体举措

GridViewPager.OnAdapterChangeListener

public static interface GridViewPager.OnAdapterChangeListener

android.support.wearable.view.GridViewPager.OnAdapterChangeListener
Known Indirect Subclasses


Callback interface for responding to a replaced or removed adapter.

Summary

Public methods

abstract void onAdapterChanged(GridPagerAdapter oldAdapter, GridPagerAdapter newAdapter)

Called when the adapter is changed with setAdapter(GridPagerAdapter).

abstract void onDataSetChanged()

Called when a change is made to the content of the current adapter.

Public methods

onAdapterChanged

void onAdapterChanged (GridPagerAdapter oldAdapter, 
                GridPagerAdapter newAdapter)

Called when the adapter is changed with setAdapter(GridPagerAdapter).

Parameters
oldAdapter GridPagerAdapter

newAdapter GridPagerAdapter

onDataSetChanged

void onDataSetChanged ()

Called when a change is made to the content of the current adapter.