Most visited

Recently visited

PresenterSelector

public abstract class PresenterSelector
extends Object

java.lang.Object
   ↳ android.support.v17.leanback.widget.PresenterSelector
Known Direct Subclasses


PresenterSelector用于获取给定对象的Presenter 类似于Presenter ,PresenterSelector是无状态的。

Summary

Public constructors

PresenterSelector()

Public methods

abstract Presenter getPresenter(Object item)

返回给定项目的演示者。

Presenter[] getPresenters()

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

Inherited methods

From class java.lang.Object

Public constructors

PresenterSelector

PresenterSelector ()

Public methods

getPresenter

Presenter getPresenter (Object item)

返回给定项目的演示者。

Parameters
item Object
Returns
Presenter

getPresenters

Presenter[] getPresenters ()

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

Returns
Presenter[]

Hooray!