java.lang.Object | |||
↳ | android.support.v17.leanback.widget.Presenter | ||
↳ | android.support.v17.leanback.widget.RowPresenter | ||
↳ | android.support.v17.leanback.widget.DetailsOverviewRowPresenter |
A DetailsOverviewRowPresenter renders a DetailsOverviewRow
to display an
overview of an item. Typically this row will be the first row in a fragment
such as the DetailsFragment
.
The detailed description is rendered using a Presenter
.
Nested Classes | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
DetailsOverviewRowPresenter.ViewHolder | A ViewHolder for the DetailsOverviewRow. |
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Constructor for a DetailsOverviewRowPresenter.
|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Returns the background color.
| |||||||||||
Gets the listener for Action click events.
| |||||||||||
Returns true if the layout style is large.
| |||||||||||
Sets the background color.
| |||||||||||
Sets the listener for Action click events.
| |||||||||||
Sets the layout style to be large or small.
|
Protected Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Called to create a ViewHolder object for a Row.
| |||||||||||
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
android.support.v17.leanback.widget.RowPresenter
| |||||||||||
From class
android.support.v17.leanback.widget.Presenter
| |||||||||||
From class
java.lang.Object
|
Constructor for a DetailsOverviewRowPresenter.
detailsPresenter | The Presenter used to render the detailed
description of the row.
|
---|
Returns the background color. If no background color was set, transparent is returned.
Gets the listener for Action click events.
Returns true if the layout style is large.
Sets the background color. If not set, a default from the theme will be used.
Sets the listener for Action click events.
Sets the layout style to be large or small. This affects the height of the overview, including the text description. The default is large.
Called to create a ViewHolder object for a Row. Subclasses will override this method to return a different concrete ViewHolder object.
parent | The parent View for the Row's view holder. |
---|