Most visited

Recently visited

ControlButtonPresenterSelector

public class ControlButtonPresenterSelector
extends PresenterSelector

java.lang.Object
   ↳ android.support.v17.leanback.widget.PresenterSelector
     ↳ android.support.v17.leanback.widget.ControlButtonPresenterSelector


显示PlaybackControlsRow主要和次要控制。 绑定到Action类型的Action

Summary

Public constructors

ControlButtonPresenterSelector()

Public methods

Presenter getPresenter(Object item)

始终返回主控制器的演示者。

Presenter[] getPresenters()

返回所有可能演示者的数组。

Presenter getPrimaryPresenter()

返回主控件的演示者。

Presenter getSecondaryPresenter()

返回辅助控件的演示者。

Inherited methods

From class android.support.v17.leanback.widget.PresenterSelector
From class java.lang.Object

Public constructors

ControlButtonPresenterSelector

ControlButtonPresenterSelector ()

Public methods

getPresenter

Presenter getPresenter (Object item)

始终返回主控制器的演示者。

Parameters
item Object
Returns
Presenter

getPresenters

Presenter[] getPresenters ()

返回所有可能演示者的数组。 返回的数组不应该被修改。

Returns
Presenter[]

getPrimaryPresenter

Presenter getPrimaryPresenter ()

返回主控件的演示者。

Returns
Presenter

getSecondaryPresenter

Presenter getSecondaryPresenter ()

返回辅助控件的演示者。

Returns
Presenter

Hooray!