FileDocCategorySizeDatePackage
SinglePresenterSelector.javaAPI DocAndroid 5.1 API1211Thu Mar 12 22:22:56 GMT 2015android.support.v17.leanback.widget

SinglePresenterSelector

public final class SinglePresenterSelector extends PresenterSelector
A {@link PresenterSelector} that always returns the same {@link Presenter}. Useful for rows of items of the same type that are all rendered the same way.

Fields Summary
private final Presenter
mPresenter
Constructors Summary
public SinglePresenterSelector(Presenter presenter)

param
presenter The Presenter to return for every item.

        mPresenter = presenter;
    
Methods Summary
public PresentergetPresenter(java.lang.Object item)

        return mPresenter;