# GridPageOptions

`public interface GridPageOptions`
``

android.support.wearable.view.GridPageOptions

An optional interface for a Fragment within a GridViewPager which provides additional configurable options.

## Summary

### Nested classes
`interface` | `GridPageOptions.BackgroundListener` Interface for communicating background changes to a listener.

### Public methods
`abstract Drawable` | `getBackground()` Provides a background for the page represented by this Fragment.
`abstract void` | `setBackgroundListener(GridPageOptions.BackgroundListener listener)` Provides a listener used to notify the container about a change to the background.

## Public methods

### getBackground

    Drawable getBackground ()

Provides a background for the page represented by this Fragment. A return value of `BACKGROUND_NONE` will default to the background for the row, if supplied.

Returns
`Drawable` |

See also:

- `getBackgroundForRow(int)`

### setBackgroundListener

    void setBackgroundListener (GridPageOptions.BackgroundListener listener)

Provides a listener used to notify the container about a change to the background.

Parameters
`listener` | `GridPageOptions.BackgroundListener`: a listener used to notify about background changes

- ## 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