ControlButtonPresenterSelector

class ControlButtonPresenterSelector : PresenterSelector


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

Summary

Public constructors

Public functions

Presenter?
getPresenter(item: Any?)

Always returns the presenter for primary controls.

Array<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
ControlButtonPresenterSelector()

Public functions

getPresenter

Added in 1.2.0-alpha04
fun getPresenter(item: Any?): Presenter?

Always returns the presenter for primary controls.

getPresenters

fun getPresenters(): Array<Presenter!>!

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

getPrimaryPresenter

Added in 1.1.0
fun getPrimaryPresenter(): Presenter!

Returns the presenter for primary controls.

getSecondaryPresenter

Added in 1.1.0
fun getSecondaryPresenter(): Presenter!

Returns the presenter for secondary controls.