PresenterSelector

public abstract class PresenterSelector
extends Object

java.lang.Object
   ↳ androidx.leanback.widget.PresenterSelector


A PresenterSelector is used to obtain a Presenter for a given Object. Similar to Presenter, PresenterSelector is stateless.

Summary

Public constructors

PresenterSelector()

Public methods

abstract Presenter getPresenter(Object item)

Returns a presenter for the given item.

Presenter[] getPresenters()

Returns an array of all possible presenters.

Inherited methods

Public constructors

PresenterSelector

public PresenterSelector ()