PlaybackTransportRowPresenter.ViewHolder

public class PlaybackTransportRowPresenter.ViewHolder
extends PlaybackRowPresenter.ViewHolder implements PlaybackSeekUi

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


A ViewHolder for the PlaybackControlsRow supporting seek UI.

Summary

Inherited fields

Public constructors

ViewHolder(View rootView, Presenter descriptionPresenter)

Constructor of ViewHolder of PlaybackTransportRowPresenter

Public methods

final TextView getCurrentPositionView()

Returns the TextView that showing current position label.

final Presenter.ViewHolder getDescriptionViewHolder()
final TextView getDurationView()

Returns the TextView that showing total time label.

void setPlaybackSeekUiClient(PlaybackSeekUi.Client client)

Interface to be implemented by UI widget to support PlaybackSeekUi.

Protected methods

void onSetCurrentPositionLabel(long currentTimeMs)

Called to update current time label.

void onSetDurationLabel(long totalTimeMs)

Called to update total time label.

Inherited methods