O Google tem o compromisso de promover a igualdade racial para as comunidades negras. Saiba como.


open class DetailsOverviewRowPresenter : RowPresenter
   ↳ androidx.leanback.widget.Presenter
   ↳ androidx.leanback.widget.RowPresenter
   ↳ androidx.leanback.widget.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 View created by the DetailsOverviewRowPresenter is made in three parts: ImageView on the left, action list view on the bottom and a customizable detailed description view on the right.

The detailed description is rendered using a Presenter passed in DetailsOverviewRowPresenter(Presenter). Typically this will be an instance of AbstractDetailsDescriptionPresenter. The application can access the detailed description ViewHolder from ViewHolder#mDetailsDescriptionViewHolder.

To participate in activity transition, call setSharedElementEnterTransition(Activity, * String) during Activity's onCreate().

Because transition support and layout are fully controlled by DetailsOverviewRowPresenter, developer can not override DetailsOverviewRowPresenter.ViewHolder for adding/replacing views of DetailsOverviewRowPresenter. If further customization is required beyond replacing the detailed description, the application should create a new row presenter class.


Nested classes

A ViewHolder for the DetailsOverviewRow.

Inherited constants
Public constructors
<init>(detailsPresenter: Presenter!)

Constructor for a DetailsOverviewRowPresenter.

Public methods
open Int

Returns the background color.

open OnActionClickedListener!

Returns the listener for Action click events.

open Boolean

Returns true if the layout style is large.


open Unit
setBackgroundColor(@ColorInt color: Int)

Sets the background color.

open Unit

Sets the listener for Action click events.

setSharedElementEnterTransition(activity: Activity!, sharedElementName: String!, timeoutMs: Long)

Sets the enter transition of target activity to be transiting into overview row created by this presenter.

setSharedElementEnterTransition(activity: Activity!, sharedElementName: String!)

Sets the enter transition of target activity to be transiting into overview row created by this presenter.

open Unit

Sets the layout style to be large or small.

Protected methods
open RowPresenter.ViewHolder!

open Unit

open Unit

open Unit

open Unit

open Unit