public
interface
MultiActionsProvider
android.support.v17.leanback.widget.MultiActionsProvider |
An interface implemented by the user if they wish to provide actions for a media item row to
be displayed by an AbstractMediaItemPresenter
.
A media row consists of media item details together with a number of custom actions,
following the media item details. Classes implementing MultiActionsProvider
can define
their own media data model within their derived classes.
The actions are provided by overriding getActions()
Provided actions should be instances of MultiActionsProvider.MultiAction
.
Nested classes | |
---|---|
class |
MultiActionsProvider.MultiAction
MultiAction represents an action that can have multiple states. |
Public methods | |
---|---|
abstract
MultiAction[]
|
getActions()
Should override this method in order to provide a custom set of actions for a media item row |
MultiAction[] getActions ()
Should override this method in order to provide a custom set of actions for a media item row
Returns | |
---|---|
MultiAction[] |
Array of MultiAction items to be displayed for this media item row. |