added in version 26.1.0
belongs to Maven artifact


public class PlaybackTransportRowPresenter
extends PlaybackRowPresenter


A PlaybackTransportRowPresenter 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 PlaybackSupportFragment.

The detailed description is rendered using a Presenter passed in setDescriptionPresenter(Presenter). This can be an instance of AbstractDetailsDescriptionPresenter. The application can access the detailed description ViewHolder from getDescriptionViewHolder().


Nested classes

class PlaybackTransportRowPresenter.ViewHolder

A ViewHolder for the PlaybackControlsRow supporting seek UI. 

Inherited constants

From class

Public constructors


Public methods

float getDefaultSeekIncrement()

Get default seek increment if PlaybackSeekDataProvider is null.

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.

void setDefaultSeekIncrement(float ratio)

Set default seek increment if PlaybackSeekDataProvider is null.