Stay organized with collections
Save and categorize content based on your preferences.
public abstract class PlaybackRowPresenter extends RowPresenter
Subclass of RowPresenter that can define the desired behavior when the view reappears. This is presently used by PlaybackControlsRowPresenter to update the UI after we show/hide the controls view.
Summary
Nested types |
|
This container is used for trapping click events and passing them to the playback controls.
|
Public methods |
void |
Provides hook to update the UI when the view reappears.
|
Inherited Constants |
From androidx.leanback.widget.RowPresenter
static final int |
Don't synchronize row view activated status with selected status or expanded status, application will do its own through setActivated.
|
static final int |
Synchronizes row view's activated status to expand status of the row view holder.
|
static final int |
Sets the row view's activated status to true when both expand and selected are true.
|
static final int |
Synchronizes row view's activated status to selected status of the row view holder.
|
|
Inherited methods |
| From androidx.leanback.widget.FacetProvider
|
From androidx.leanback.widget.Presenter
static void |
Utility method for removing all running animations on a view.
|
final Object |
Queries optional implemented facet.
|
abstract void |
Binds a View to an item.
|
void |
Binds a View to an item with a list of payloads.
|
abstract @NonNull Presenter.ViewHolder |
Creates a new View.
|
abstract void |
Unbinds a View from an item.
|
void |
Called when a view created by this presenter has been attached to a window.
|
void |
Called when a view created by this presenter has been detached from its window.
|
final void |
Sets dynamic implemented facet in addition to basic Presenter functions.
|
void |
Called to set a click listener for the given view holder.
|
|
From androidx.leanback.widget.RowPresenter
abstract @NonNull RowPresenter.ViewHolder |
Called to create a ViewHolder object for a Row.
|
void |
This method is only called from onRowViewSelected onRowViewSelected.
|
void |
Freezes/unfreezes the row, typically used when a transition starts/ends.
|
final RowHeaderPresenter |
Returns the Presenter used for rendering the header, or null if none has been set.
|
final RowPresenter.ViewHolder |
Returns the RowPresenter.ViewHolder from the given RowPresenter ViewHolder.
|
final boolean |
Returns true if the row selection effect is enabled.
|
final float |
Returns the current select level.
|
final int |
Returns the policy of updating row view activated status.
|
void |
Called after a RowPresenter.ViewHolder is created for a Row.
|
boolean |
Returns true if the Row view should clip its children.
|
boolean |
Returns true if this RowPresenter is using the default dimming effect.
|
void |
Binds the given row object to the given ViewHolder.
|
final void |
Binds a View to an item.
|
final Presenter.ViewHolder |
Creates a new View.
|
void |
Invoked when the row view is attached to the window.
|
void |
Invoked when the row view is detached from the window.
|
void |
Called when the row view's expanded state changes.
|
void |
Called when the given row view changes selection state.
|
void |
Callback when the select level changes.
|
void |
Unbinds the given ViewHolder.
|
final void |
Unbinds a View from an item.
|
final void |
Called when a view created by this presenter has been attached to a window.
|
final void |
Called when a view created by this presenter has been detached from its window.
|
void |
Changes the visibility of views.
|
final void |
Sets the Presenter used for rendering the header.
|
final void |
Sets the expanded state of a Row view.
|
final void |
Sets the selected state of a Row view.
|
final void |
Enables or disables the row selection effect.
|
final void |
Sets the current select level to a value between 0 (unselected) and 1 (selected).
|
final void |
Sets the policy of updating row view activated status.
|
|
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 2026-08-06 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 2026-08-06 UTC."],[],[]]