Stay organized with collections Save and categorize content based on your preferences.

ControlButtonPresenterSelector

public class ControlButtonPresenterSelector extends PresenterSelector


Displays primary and secondary controls for a PlaybackControlsRow. Binds to items of type Action.

Summary

Public constructors

Public methods

Presenter

Always returns the presenter for primary controls.

Presenter[]

Returns an array of all possible presenters.

Presenter

Returns the presenter for primary controls.

Presenter

Returns the presenter for secondary controls.

Public constructors

ControlButtonPresenterSelector

public ControlButtonPresenterSelector()

Public methods

getPresenter

public Presenter getPresenter(Object item)

Always returns the presenter for primary controls.

getPresenters

public Presenter[] getPresenters()

Returns an array of all possible presenters. The returned array should not be modified.

getPrimaryPresenter

public Presenter getPrimaryPresenter()

Returns the presenter for primary controls.

getSecondaryPresenter

public Presenter getSecondaryPresenter()

Returns the presenter for secondary controls.