added in version 22.1.0
belongs to Maven artifact com.android.support:leanback-v17:28.0.0-alpha1
belongs to Maven artifact com.android.support:leanback-v17:28.0.0-alpha1
PlaybackControlsRow.MultiAction
public
static
abstract
class
PlaybackControlsRow.MultiAction
extends Action
java.lang.Object | ||
↳ | android.support.v17.leanback.widget.Action | |
↳ | android.support.v17.leanback.widget.PlaybackControlsRow.MultiAction |
![]() |
![]() |
Base class for an action comprised of a series of icons.
Summary
Inherited constants |
---|
![]()
android.support.v17.leanback.widget.Action
|
Public constructors | |
---|---|
PlaybackControlsRow.MultiAction(int id)
Constructor |
Public methods | |
---|---|
int
|
getActionCount()
Returns the number of actions. |
Drawable
|
getDrawable(int index)
Returns the drawable at the given index. |
int
|
getIndex()
Returns the current index. |
String
|
getLabel(int index)
Returns the label at the given index. |
String
|
getSecondaryLabel(int index)
Returns the secondary label at the given index. |
void
|
nextIndex()
Increments the index, wrapping to zero once the end is reached. |
void
|
setDrawables(Drawable[] drawables)
Sets the array of drawabl |