belongs to Maven artifact androidx.leanback:leanback:1.0.0-alpha1

FullWidthDetailsOverviewRowPresenter.ViewHolder

public class FullWidthDetailsOverviewRowPresenter.ViewHolder
extends RowPresenter.ViewHolder

java.lang.Object
   ↳ androidx.leanback.widget.Presenter.ViewHolder
     ↳ androidx.leanback.widget.RowPresenter.ViewHolder
       ↳ androidx.leanback.widget.FullWidthDetailsOverviewRowPresenter.ViewHolder


A ViewHolder for the DetailsOverviewRow.

Summary

Nested classes

class FullWidthDetailsOverviewRowPresenter.ViewHolder.DetailsOverviewRowListener

 

Fields

protected final DetailsOverviewRow.Listener mRowListener

Inherited fields

Public constructors

FullWidthDetailsOverviewRowPresenter.ViewHolder(View rootView, Presenter detailsPresenter, DetailsOverviewLogoPresenter logoPresenter)

Constructor for the ViewHolder.

Public methods

final ViewGroup getActionsRow()

Returns the view of actions row.

final ViewGroup getDetailsDescriptionFrame()

Returns the root view for inserting details description.

final Presenter.ViewHolder getDetailsDescriptionViewHolder()

Returns the ViewHolder for DetailsDescription.

final DetailsOverviewLogoPresenter.ViewHolder getLogoViewHolder()

Returns the ViewHolder for logo.

final ViewGroup getOverviewView()

Returns the rectangle area with a color background.

final int getState()

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

Protected methods

DetailsOverviewRow.Listener createRowListener()

Inherited methods

Fields

mRowListener

DetailsOverviewRow.Listener mRowListener

Public constructors

FullWidthDetailsOverviewRowPresenter.ViewHolder

FullWidthDetailsOverviewRowPresenter.ViewHolder (View rootView, 
                Presenter detailsPresenter, 
                DetailsOverviewLogoPresenter logoPresenter)

Constructor for the ViewHolder.

Parameters
rootView View: The root View that this view holder will be attached to.

detailsPresenter Presenter

logoPresenter DetailsOverviewLogoPresenter

Public methods

getActionsRow

ViewGroup getActionsRow ()

Returns the view of actions row.

Returns
ViewGroup

getDetailsDescriptionFrame

ViewGroup getDetailsDescriptionFrame ()

Returns the root view for inserting details description.

Returns
ViewGroup

getDetailsDescriptionViewHolder

Presenter.ViewHolder getDetailsDescriptionViewHolder ()

Returns the ViewHolder for DetailsDescription.

Returns
Presenter.ViewHolder

getLogoViewHolder

DetailsOverviewLogoPresenter.ViewHolder getLogoViewHolder ()

Returns the ViewHolder for logo.

Returns
DetailsOverviewLogoPresenter.ViewHolder

getOverviewView

ViewGroup getOverviewView ()

Returns the rectangle area with a color background.

Returns
ViewGroup

getState

int getState ()

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

Returns
int

Protected methods

createRowListener

DetailsOverviewRow.Listener createRowListener ()

Returns
DetailsOverviewRow.Listener