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

ActionPresenterSelector

public class ActionPresenterSelector extends PresenterSelector

Fields Summary
private final Presenter
mOneLineActionPresenter
private final Presenter
mTwoLineActionPresenter
Constructors Summary
Methods Summary
public PresentergetPresenter(java.lang.Object item)


    
        
        Action action = (Action) item;
        if (TextUtils.isEmpty(action.getLabel2())) {
            return mOneLineActionPresenter;
        } else {
            return mTwoLineActionPresenter;
        }