PlaybackControlsRow.ShuffleAction
public class PlaybackControlsRow.ShuffleAction extends PlaybackControlsRow.MultiAction
| java.lang.Object | |||
| ↳ | androidx.leanback.widget.Action | ||
| ↳ | androidx.leanback.widget.PlaybackControlsRow.MultiAction | ||
| ↳ | androidx.leanback.widget.PlaybackControlsRow.ShuffleAction |
An action for displaying a shuffle icon.
Summary
Constants |
|
|---|---|
static final int |
INDEX_OFF = 0Action index for shuffle is off |
static final int |
INDEX_ON = 1Action index for shuffle is on. |
static final int |
OFF = 0This field is deprecated. Use |
static final int |
ON = 1This field is deprecated. Use |
Public constructors |
|---|
ShuffleAction(Context context)Constructor |
ShuffleAction(Context context, int highlightColor)Constructor |
Inherited Constants |
||
|---|---|---|
|
Inherited methods |
||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
||||||||||||||||||||||||
|
Constants
Public constructors
ShuffleAction
public ShuffleAction(Context context)
Constructor
| Parameters | |
|---|---|
Context context |
Context used for loading resources. |
ShuffleAction
public ShuffleAction(Context context, int highlightColor)
Constructor
| Parameters | |
|---|---|
Context context |
Context used for loading resources. |
int highlightColor |
Color for the highlighted icon state. |