Most visited

Recently visited

FullWidthDetailsOverviewRowPresenter.ViewHolder

public class FullWidthDetailsOverviewRowPresenter.ViewHolder
extends RowPresenter.ViewHolder

java.lang.Object
   ↳ android.support.v17.leanback.widget.Presenter.ViewHolder
     ↳ android.support.v17.leanback.widget.RowPresenter.ViewHolder
       ↳ android.support.v17.leanback.widget.FullWidthDetailsOverviewRowPresenter.ViewHolder


DetailsOverviewRow的ViewHolder。

Summary

Nested classes

class FullWidthDetailsOverviewRowPresenter.ViewHolder.DetailsOverviewRowListener

 

Fields

protected final DetailsOverviewRow.Listener mRowListener

Inherited fields

From class android.support.v17.leanback.widget.RowPresenter.ViewHolder
From class android.support.v17.leanback.widget.Presenter.ViewHolder

Public constructors

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

ViewHolder的构造函数。

Public methods

final ViewGroup getActionsRow()

返回操作行的视图。

final ViewGroup getDetailsDescriptionFrame()

返回插入细节描述的根视图。

final Presenter.ViewHolder getDetailsDescriptionViewHolder()

返回DetailsDescription的ViewHolder。

final DetailsOverviewLogoPresenter.ViewHolder getLogoViewHolder()

返回徽标的ViewHolder。

final ViewGroup getOverviewView()

用颜色背景返回矩形区域。

final int getState()

返回由setState(ViewHolder, int)设置的 setState(ViewHolder, int)当前状态。

Protected methods

DetailsOverviewRow.Listener createRowListener()

Inherited methods

From class android.support.v17.leanback.widget.RowPresenter.ViewHolder
From class android.support.v17.leanback.widget.Presenter.ViewHolder
From class java.lang.Object
From interface android.support.v17.leanback.widget.FacetProvider

Fields

mRowListener

DetailsOverviewRow.Listener mRowListener

Public constructors

FullWidthDetailsOverviewRowPresenter.ViewHolder

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

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
ViewGroup

getDetailsDescriptionFrame

ViewGroup getDetailsDescriptionFrame ()

返回插入细节描述的根视图。

Returns
ViewGroup

getDetailsDescriptionViewHolder

Presenter.ViewHolder getDetailsDescriptionViewHolder ()

返回DetailsDescription的ViewHolder。

Returns
Presenter.ViewHolder

getLogoViewHolder

DetailsOverviewLogoPresenter.ViewHolder getLogoViewHolder ()

返回徽标的ViewHolder。

Returns
DetailsOverviewLogoPresenter.ViewHolder

getOverviewView

ViewGroup getOverviewView ()

用颜色背景返回矩形区域。

Returns
ViewGroup

getState

int getState ()

返回由setState(ViewHolder, int)设置的 setState(ViewHolder, int)当前状态。

Returns
int

Protected methods

createRowListener

DetailsOverviewRow.Listener createRowListener ()

Returns
DetailsOverviewRow.Listener

Hooray!