Save the date! Android Dev Summit is coming to Mountain View, CA on November 7-8, 2018.
Android 0.0.0 Developer Preview
belongs to Maven artifact androidx.leanback:leanback:1.1.0-alpha01

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

protected final DetailsOverviewRow.Listener mRowListener

Public constructors

FullWidthDetailsOverviewRowPresenter.ViewHolder

public 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

public final ViewGroup getActionsRow ()

Returns the view of actions row.

Returns
ViewGroup

getDetailsDescriptionFrame

public final ViewGroup getDetailsDescriptionFrame ()

Returns the root view for inserting details description.

Returns
ViewGroup

getDetailsDescriptionViewHolder

public final Presenter.ViewHolder getDetailsDescriptionViewHolder ()

Returns the ViewHolder for DetailsDescription.

Returns
Presenter.ViewHolder

getLogoViewHolder

public final DetailsOverviewLogoPresenter.ViewHolder getLogoViewHolder ()

Returns the ViewHolder for logo.

Returns
DetailsOverviewLogoPresenter.ViewHolder

getOverviewView

public final ViewGroup getOverviewView ()

Returns the rectangle area with a color background.

Returns
ViewGroup

getState

public final int getState ()

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

Returns
int

Protected methods

createRowListener

protected DetailsOverviewRow.Listener createRowListener ()

Returns
DetailsOverviewRow.Listener