Save the date! Android Dev Summit is coming to Mountain View, CA on November 7-8, 2018.
added in version 1.0.0
belongs to Maven artifact androidx.leanback:leanback:1.0.0-rc01

PlaybackRowPresenter

public abstract class PlaybackRowPresenter
extends RowPresenter

java.lang.Object
   ↳ androidx.leanback.widget.Presenter
     ↳ androidx.leanback.widget.RowPresenter
       ↳ androidx.leanback.widget.PlaybackRowPresenter


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 classes

class PlaybackRowPresenter.ViewHolder

This container is used for trapping click events and passing them to the playback controls. 

Inherited constants

Public constructors

PlaybackRowPresenter()

Public methods

void onReappear(RowPresenter.ViewHolder rowViewHolder)

Provides hook to update the UI when the view reappears.

Inherited methods

Public constructors

PlaybackRowPresenter

added in version 1.0.0
public PlaybackRowPresenter ()

Public methods

onReappear

added in version 1.0.0
public void onReappear (RowPresenter.ViewHolder rowViewHolder)

Provides hook to update the UI when the view reappears.

Parameters
rowViewHolder RowPresenter.ViewHolder