Stay organized with collections
Save and categorize content based on your preferences.
public class PlaybackControlsRow.ThumbsUpAction extends PlaybackControlsRow.ThumbsAction
An action displaying an icon for thumbs up.
Summary
Inherited methods |
From androidx.leanback.widget.Action
final void |
Adds a keycode used to invoke this Action.
|
final @Nullable Drawable |
Returns the icon drawable for this Action.
|
final long |
Returns the id for this Action.
|
final @Nullable CharSequence |
Returns the first line label for this Action.
|
final @Nullable CharSequence |
Returns the second line label for this Action.
|
final void |
Removes a keycode used to invoke this Action.
|
final boolean |
Returns true if the Action should respond to the given keycode.
|
final void |
Sets the icon drawable for this Action.
|
final void |
Sets the id for this Action.
|
final void |
Sets the first line label for this Action.
|
final void |
Sets the second line label for this Action.
|
@NonNull String |
|
|
From androidx.leanback.widget.PlaybackControlsRow.MultiAction
int |
Returns the number of actions.
|
Drawable |
Returns the drawable at the given index.
|
int |
Returns the current index.
|
String |
Returns the label at the given index.
|
String |
Returns the secondary label at the given index.
|
void |
Increments the index, wrapping to zero once the end is reached.
|
void |
Sets the array of drawables.
|
void |
Sets the current index.
|
void |
Sets the array of strings used as labels.
|
void |
Sets the array of strings used as secondary labels.
|
|
Content and code samples on this page are subject to the licenses described in the Content License. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
Last updated 2025-05-15 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-05-15 UTC."],[],[]]