| java.lang.Object | |
| ↳ | android.support.v17.leanback.widget.PresenterSwitcher |
Known Direct Subclasses
|
An abstract helper class that switches view in parent view using PresenterSelector
subclass should define insertView(View) of how to add the view
in parent and optionally override onViewSelected(View).
| Public Constructors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Destroy created views.
| |||||||||||
Initialize switcher with a parent view to insert view into and a
PresenterSelector for choose Presenter for object.
| |||||||||||
| Protected Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Called when a view is bound to the object of
select(Object).
| |||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
Destroy created views.
Initialize switcher with a parent view to insert view into and a
PresenterSelector for choose Presenter for object.
This will destroy any existing views.
Called when a view is bound to the object of select(Object).