public static class DetailsOverviewLogoPresenter.ViewHolder
extends Presenter.ViewHolder
java.lang.Object | ||
↳ | android.support.v17.leanback.widget.Presenter.ViewHolder | |
↳ | android.support.v17.leanback.widget.DetailsOverviewLogoPresenter.ViewHolder |
DetailsOverviewRow的Logo视图的ViewHolder。
Fields |
|
---|---|
protected FullWidthDetailsOverviewRowPresenter |
mParentPresenter |
protected FullWidthDetailsOverviewRowPresenter.ViewHolder |
mParentViewHolder |
Inherited fields |
---|
From class android.support.v17.leanback.widget.Presenter.ViewHolder
|
Public constructors |
|
---|---|
DetailsOverviewLogoPresenter.ViewHolder(View view) |
Public methods |
|
---|---|
FullWidthDetailsOverviewRowPresenter |
getParentPresenter() |
FullWidthDetailsOverviewRowPresenter.ViewHolder |
getParentViewHolder() |
boolean |
isSizeFromDrawableIntrinsic() |
void |
setSizeFromDrawableIntrinsic(boolean sizeFromDrawableIntrinsic) 如果ImageView布局大小应该同步到Drawable固有大小,请更改。 |
Inherited methods |
|
---|---|
From class android.support.v17.leanback.widget.Presenter.ViewHolder
|
|
From class java.lang.Object
|
|
From interface android.support.v17.leanback.widget.FacetProvider
|
DetailsOverviewLogoPresenter.ViewHolder (View view)
Parameters | |
---|---|
view |
View
|
FullWidthDetailsOverviewRowPresenter getParentPresenter ()
Returns | |
---|---|
FullWidthDetailsOverviewRowPresenter |
FullWidthDetailsOverviewRowPresenter.ViewHolder getParentViewHolder ()
Returns | |
---|---|
FullWidthDetailsOverviewRowPresenter.ViewHolder |
boolean isSizeFromDrawableIntrinsic ()
Returns | |
---|---|
boolean |
True if layout size of ImageView should be changed to intrinsic size of Drawable, false otherwise. Used by onBindViewHolder(Presenter.ViewHolder, Object) . |
void setSizeFromDrawableIntrinsic (boolean sizeFromDrawableIntrinsic)
如果ImageView布局大小应该同步到Drawable固有大小,请更改。 由onBindViewHolder(Presenter.ViewHolder, Object)
。
Parameters | |
---|---|
sizeFromDrawableIntrinsic |
boolean : True if layout size of ImageView should be changed to intrinsic size of Drawable, false otherwise. |