java.lang.Object | ||
↳ | android.support.v17.leanback.widget.Presenter.ViewHolder | |
↳ | android.support.v17.leanback.widget.RowPresenter.ViewHolder |
Known Direct Subclasses |
A view holder for a Row
.
Fields | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
mColorDimmer |
[Expand]
Inherited Fields | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
android.support.v17.leanback.widget.Presenter.ViewHolder
|
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Constructor for ViewHolder.
|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Returns the view holder for the Row header for this Row.
| |||||||||||
Returns the Row bound to the View in this ViewHolder.
| |||||||||||
Returns the current selection level of the Row.
| |||||||||||
Returns whether the Row is in its expanded state.
| |||||||||||
Returns whether the Row is selected.
| |||||||||||
Sets the row view's activated status.
| |||||||||||
Synchronizes the activated status of view to the last value passed through
setActivated(boolean) .
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
|
Constructor for ViewHolder.
view | The View bound to the Row. |
---|
Returns the view holder for the Row header for this Row.
Returns the current selection level of the Row.
Returns whether the Row is in its expanded state.
Returns whether the Row is selected.
Sets the row view's activated status. The status will be applied to children through
syncActivatedStatus(View)
. Application should only call this function
when getSyncActivatePolicy()
is
SYNC_ACTIVATED_CUSTOM
; otherwise the value will
be overwritten when expanded or selected status changes.
Synchronizes the activated status of view to the last value passed through
setActivated(boolean)
. No operation if
setActivated(boolean)
is never called. Normally
application does not need to call this method, ListRowPresenter
automatically
calls this method when a child is attached to list row. However if
application writes its own custom RowPresenter, it should call this method
when attaches a child to the row view.