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

@Nullable 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

Added in 1.1.0
public ControlButtonPresenterSelector()

Public methods

getPresenter

Added in 1.2.0-alpha04
public @Nullable Presenter getPresenter(@Nullable 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

Added in 1.1.0
public Presenter getPrimaryPresenter()

Returns the presenter for primary controls.

getSecondaryPresenter

Added in 1.1.0
public Presenter getSecondaryPresenter()

Returns the presenter for secondary controls.