Google은 흑인 공동체를 위한 인종 간 평등을 진전시키기 위해 노력하고 있습니다. Google에서 어떤 노력을 하고 있는지 확인하세요.
added in version 24.1.0
belongs to Maven artifact com.android.support:leanback-v17:28.0.0-alpha1

MultiActionsProvider

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.

Summary

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

Public methods

getActions

added in version 24.1.0
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.