added in version 22.1.0
belongs to Maven artifact com.android.support:leanback-v17:28.0.0-alpha1

PlaybackControlsRowPresenter

public class PlaybackControlsRowPresenter
extends PlaybackRowPresenter

java.lang.Object
   ↳ android.support.v17.leanback.widget.Presenter
     ↳ android.support.v17.leanback.widget.RowPresenter
       ↳ android.support.v17.leanback.widget.PlaybackRowPresenter
         ↳ android.support.v17.leanback.widget.PlaybackControlsRowPresenter


A PlaybackControlsRowPresenter renders a PlaybackControlsRow to display a series of playback control buttons. Typically this row will be the first row in a fragment such as the PlaybackFragment.

The detailed description is rendered using a Presenter passed in PlaybackControlsRowPresenter(Presenter). Typically this will be an instance of AbstractDetailsDescriptionPresenter. The application can access the detailed description ViewHolder from mDescriptionViewHolder.

Summary

Nested classes

class PlaybackControlsRowPresenter.ViewHolder

A ViewHolder for the PlaybackControlsRow. 

Inherited constants

From class android.support.v17.leanback.widget.RowPresenter

Public constructors

PlaybackControlsRowPresenter(Presenter descriptionPresenter)

Constructor for a PlaybackControlsRowPresenter.

PlaybackControlsRowPresenter()

Constructor for a PlaybackControlsRowPresenter.

Public methods

boolean areSecondaryActionsHidden()

Returns true if secondary actions are hidden.

int getBackgroundColor()

Returns the background color.

OnActionClickedListener getOnActionClickedListener()

Returns the listener for Action click events.

int getProgressColor()

Returns the primary color for the progress bar.

void onReappear(RowPresenter.ViewHolder rowViewHolder)

Provides hook to update the UI when the view reappears.