Summary: Methods | [Expand All]

# GridViewPager.OnAdapterChangeListener

`public static interface GridViewPager.OnAdapterChangeListener`
``

android.support.wearable.view.GridViewPager.OnAdapterChangeListener

Known Indirect Subclasses DotsPageIndicator
DotsPageIndicator | A page indicator for `GridViewPager` which identifies the current page in relation to all available pages on the current row.

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.

- ## Interfaces

  - ActionChooserView.ActionChooserListener
  - DelayedConfirmationView.DelayedConfirmationListener
  - GridPageOptions
  - GridPageOptions.BackgroundListener
  - GridViewPager.OnAdapterChangeListener
  - GridViewPager.OnPageChangeListener
  - WatchViewStub.OnLayoutInflatedListener
  - WearableListView.ClickListener
  - WearableListView.OnCenterProximityListener
  - WearableListView.OnCentralPositionChangedListener
  - WearableListView.OnScrollListener

- ## Classes

  - ActionChooserView
  - ActionLabel
  - ActionPage
  - BoxInsetLayout
  - BoxInsetLayout.LayoutParams
  - CardFragment
  - CardFrame
  - CardScrollView
  - CircledImageView
  - CircularButton
  - CrossfadeDrawable
  - DelayedConfirmationView
  - DismissOverlayView
  - DotsPageIndicator
  - FragmentGridPagerAdapter
  - GridPagerAdapter
  - GridViewPager
  - GridViewPager.LayoutParams
  - ProgressSpinner
  - SimpleAnimatorListener
  - WatchViewStub
  - WearableFrameLayout
  - WearableFrameLayout.LayoutParams
  - WearableListView
  - WearableListView.Adapter
  - WearableListView.ViewHolder