java.lang.Object | ||
↳ | android.support.v17.leanback.widget.Presenter | |
↳ | android.support.v17.leanback.widget.RowHeaderPresenter |
RowHeaderPresenter provides a default implementation for header using TextView.
If subclass override and creates its own view, subclass must also override
onSelectLevelChanged(ViewHolder)
.
Nested Classes | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
RowHeaderPresenter.ViewHolder |
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.
| |||||||||||
Protected Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
android.support.v17.leanback.widget.Presenter
| |||||||||||
From class
java.lang.Object
|
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.