Save the date! Android Dev Summit is coming to Sunnyvale, CA on Oct 23-24, 2019.

PlaybackRowPresenter

abstract class PlaybackRowPresenter : RowPresenter
kotlin.Any
   ↳ 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
open

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

Inherited constants
Public constructors

Subclass of RowPresenter that can define the desired behavior when the view reappears.

Public methods
open Unit

Provides hook to update the UI when the view reappears.

Inherited functions

Public constructors

<init>

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.

Public methods

onReappear

open fun onReappear(rowViewHolder: RowPresenter.ViewHolder!): Unit

Provides hook to update the UI when the view reappears.