ControlButtonPresenterSelector
open class ControlButtonPresenterSelector : PresenterSelector
kotlin.Any | ||
↳ | androidx.leanback.widget.PresenterSelector | |
↳ | androidx.leanback.widget.ControlButtonPresenterSelector |
Displays primary and secondary controls for a PlaybackControlsRow
. Binds to items of type Action
.
Summary
Public constructors | |
---|---|
<init>() Displays primary and secondary controls for a |
Public methods | |
---|---|
open Presenter! |
getPresenter(item: Any!) Always returns the presenter for primary controls. |
open Array<Presenter!>! | |
open Presenter! |
Returns the presenter for primary controls. |
open Presenter! |
Returns the presenter for secondary controls. |
Public constructors
<init>
ControlButtonPresenterSelector()
Displays primary and secondary controls for a PlaybackControlsRow
. Binds to items of type Action
.
Public methods
getPresenter
open fun getPresenter(item: Any!): Presenter!
Always returns the presenter for primary controls.
getPrimaryPresenter
open fun getPrimaryPresenter(): Presenter!
Returns the presenter for primary controls.
getSecondaryPresenter
open fun getSecondaryPresenter(): Presenter!
Returns the presenter for secondary controls.