Google 致力于为黑人社区推动种族平等。查看具体举措

ViewHolder

open class ViewHolder : RowPresenter.ViewHolder
kotlin.Any
   ↳ androidx.leanback.widget.Presenter.ViewHolder
   ↳ androidx.leanback.widget.RowPresenter.ViewHolder
   ↳ androidx.leanback.widget.FullWidthDetailsOverviewRowPresenter.ViewHolder

A ViewHolder for the DetailsOverviewRow.

Summary

Nested classes
open

Public constructors
<init>(rootView: View!, detailsPresenter: Presenter!, logoPresenter: DetailsOverviewLogoPresenter!)

Constructor for the ViewHolder.

Public methods
ViewGroup!

Returns the view of actions row.

ViewGroup!

Returns the root view for inserting details description.

Presenter.ViewHolder!

Returns the ViewHolder for DetailsDescription.

DetailsOverviewLogoPresenter.ViewHolder!

Returns the ViewHolder for logo.

ViewGroup!

Returns the rectangle area with a color background.

Int

Returns current state of the ViewHolder set by FullWidthDetailsOverviewRowPresenter#setState(ViewHolder, int).

Protected methods
open DetailsOverviewRow.Listener!

Inherited functions
Properties
DetailsOverviewRow.Listener!

Inherited properties

Public constructors

<init>

ViewHolder(
    rootView: View!,
    detailsPresenter: Presenter!,
    logoPresenter: DetailsOverviewLogoPresenter!)

Constructor for the ViewHolder.