Join us on the livestream at Android Dev Summit on 7-8 November 2018, starting at 10AM PDT!
added in version 1.0.0
belongs to Maven artifact androidx.leanback:leanback:1.0.0

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

added in version 1.0.0
protected final DetailsOverviewRow.Listener mRowListener

Public constructors

FullWidthDetailsOverviewRowPresenter.ViewHolder

added in version 1.0.0
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

added in version 1.0.0
public final ViewGroup getActionsRow ()

Returns the view of actions row.

Returns
ViewGroup

getDetailsDescriptionFrame

added in version 1.0.0
public final ViewGroup getDetailsDescriptionFrame ()

Returns the root view for inserting details description.

Returns
ViewGroup

getDetailsDescriptionViewHolder

added in version 1.0.0
public final Presenter.ViewHolder getDetailsDescriptionViewHolder ()

Returns the ViewHolder for DetailsDescription.

Returns
Presenter.ViewHolder

getLogoViewHolder

added in version 1.0.0
public final DetailsOverviewLogoPresenter.ViewHolder getLogoViewHolder ()

Returns the ViewHolder for logo.

Returns
DetailsOverviewLogoPresenter.ViewHolder

getOverviewView

added in version 1.0.0
public final ViewGroup getOverviewView ()

Returns the rectangle area with a color background.

Returns
ViewGroup

getState

added in version 1.0.0
public final int getState ()

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

Returns
int

Protected methods

createRowListener

added in version 1.0.0
protected DetailsOverviewRow.Listener createRowListener ()

Returns
DetailsOverviewRow.Listener