public abstract class PresenterSelector
extends Object
java.lang.Object | |
↳ | android.support.v17.leanback.widget.PresenterSelector |
Known Direct Subclasses |
PresenterSelector用于获取给定对象的Presenter
。 类似于Presenter
,PresenterSelector是无状态的。
Public constructors |
|
---|---|
PresenterSelector() |
Public methods |
|
---|---|
abstract Presenter |
getPresenter(Object item) 返回给定项目的演示者。 |
Presenter[] |
getPresenters() 返回所有可能演示者的数组。 |
Inherited methods |
|
---|---|
From class java.lang.Object
|
PresenterSelector ()
Presenter getPresenter (Object item)
返回给定项目的演示者。
Parameters | |
---|---|
item |
Object
|
Returns | |
---|---|
Presenter |