Android Dev Summit, October 23-24: two days of technical content, directly from the Android team. Sign-up for livestream updates.

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.