java.lang.Object | ||
↳ | android.support.v17.leanback.widget.Presenter | |
↳ | android.support.v17.leanback.widget.RowHeaderPresenter |
RowHeaderPresenter provides a default presentation for HeaderItem
using a
RowHeaderView
. If a subclass creates its own view, the subclass must also override
onSelectLevelChanged(ViewHolder)
.
Nested Classes | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
RowHeaderPresenter.ViewHolder | A ViewHolder for the RowHeaderPresenter. |
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Returns the space (distance in pixels) below the baseline of the
text view, if one exists; otherwise, returns 0.
| |||||||||||
Returns true if the view visibility is set to
GONE when bound to null.
| |||||||||||
Binds a
View to an item.
| |||||||||||
Creates a new
View .
| |||||||||||
Unbinds a
View from an item.
| |||||||||||
Optionally sets the view visibility to
GONE when bound to null.
| |||||||||||
Sets the select level.
|
Protected Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Called when the select level changes.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
android.support.v17.leanback.widget.Presenter
| |||||||||||
From class
java.lang.Object
| |||||||||||
From interface
android.support.v17.leanback.widget.FacetProvider
|
Returns the space (distance in pixels) below the baseline of the text view, if one exists; otherwise, returns 0.
Returns true if the view visibility is set to GONE
when bound to null.
Binds a View
to an item.
Unbinds a View
from an item. Any expensive references may be
released here, and any fields that are not bound for every item should be
cleared here.
Optionally sets the view visibility to GONE
when bound to null.
Sets the select level.
Called when the select level changes. The default implementation sets the alpha on the view.