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。
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)设置的 |
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
|
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
|
Presenter.ViewHolder getDetailsDescriptionViewHolder ()
返回DetailsDescription的ViewHolder。
Returns | |
---|---|
Presenter.ViewHolder |
DetailsOverviewLogoPresenter.ViewHolder getLogoViewHolder ()
返回徽标的ViewHolder。
Returns | |
---|---|
DetailsOverviewLogoPresenter.ViewHolder |
DetailsOverviewRow.Listener createRowListener ()
Returns | |
---|---|
DetailsOverviewRow.Listener |