Android APIs
public final class

ClassPresenterSelector

extends PresenterSelector
java.lang.Object
   ↳ android.support.v17.leanback.widget.PresenterSelector
     ↳ android.support.v17.leanback.widget.ClassPresenterSelector

Class Overview

A ClassPresenterSelector selects a Presenter based on the item's Java class.

Summary

Public Constructors
ClassPresenterSelector()
Public Methods
void addClassPresenter(Class<?> cls, Presenter presenter)
Presenter getPresenter(Object item)
Returns a presenter for the given item.
[Expand]
Inherited Methods
From class android.support.v17.leanback.widget.PresenterSelector
From class java.lang.Object

Public Constructors

public ClassPresenterSelector ()

Public Methods

public void addClassPresenter (Class<?> cls, Presenter presenter)

public Presenter getPresenter (Object item)

Returns a presenter for the given item.