public interface

GridPageOptions

Note: The Wearable Support Library classes under the android.support.wearable package are subject to change. For the full Android API reference, see Reference.

android.support.wearable.view.GridPageOptions

Class Overview

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

public abstract 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.

public abstract void setBackgroundListener (GridPageOptions.BackgroundListener listener)

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

Parameters
listener a listener used to notify about background changes