lightbulb_outline Help shape the future of the Google Play Console, Android Studio, and Firebase. Start survey
added in version 24.1.0
belongs to Maven artifact com.android.support:leanback-v17:28.0.0-alpha1

DetailsOverviewLogoPresenter.ViewHolder

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


ViewHolder for Logo view of DetailsOverviewRow.

Summary

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)

Change if the ImageView layout size should be synchronized to Drawable intrinsic size.

Inherited methods

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

Fields

mParentPresenter

added in version 24.1.0
FullWidthDetailsOverviewRowPresenter mParentPresenter

mParentViewHolder

added in version 24.1.0
FullWidthDetailsOverviewRowPresenter.ViewHolder mParentViewHolder

Public constructors

DetailsOverviewLogoPresenter.ViewHolder

added in version 24.1.0
DetailsOverviewLogoPresenter.ViewHolder (View view)

Parameters
view View

Public methods

getParentPresenter

added in version 24.1.0
FullWidthDetailsOverviewRowPresenter getParentPresenter ()

Returns
FullWidthDetailsOverviewRowPresenter

isSizeFromDrawableIntrinsic

added in version 24.1.0
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) .

setSizeFromDrawableIntrinsic

added in version 24.1.0
void setSizeFromDrawableIntrinsic (boolean sizeFromDrawableIntrinsic)

Change if the ImageView layout size should be synchronized to Drawable intrinsic size. Used by onBindViewHolder(Presenter.ViewHolder, Object).

Parameters
sizeFromDrawableIntrinsic boolean: True if layout size of ImageView should be changed to intrinsic size of Drawable, false otherwise.