Android APIs
public class

ControlButtonPresenterSelector

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

Class Overview


ControlButtonPresenterSelector displays primary and secondary controls for a PlaybackControlsRow. Binds to items of type Action.

Summary


Public Constructors
ControlButtonPresenterSelector()
Public Methods
Presenter getPresenter(Object item)
Always returns the presenter for primary controls.
Presenter getPrimaryPresenter()
Returns the presenter for primary controls.
Presenter getSecondaryPresenter()
Returns the presenter for secondary controls.
[Expand]
Inherited Methods
From class android.support.v17.leanback.widget.PresenterSelector
From class java.lang.Object

Public Constructors


public ControlButtonPresenterSelector ()

Public Methods


public Presenter getPresenter (Object item)

Always returns the presenter for primary controls.

public Presenter getPrimaryPresenter ()

Returns the presenter for primary controls.

public Presenter getSecondaryPresenter ()

Returns the presenter for secondary controls.