public class

DetailsOverviewLogoPresenter.ViewHolder

extends Presenter.ViewHolder

 java.lang.Object

androidx.leanback.widget.Presenter.ViewHolder

↳androidx.leanback.widget.DetailsOverviewLogoPresenter.ViewHolder

Overview

ViewHolder for Logo view of DetailsOverviewRow.

Summary

Fields
protected FullWidthDetailsOverviewRowPresentermParentPresenter

protected FullWidthDetailsOverviewRowPresenter.ViewHoldermParentViewHolder

from Presenter.ViewHolderview
Constructors
publicViewHolder(View view)

Methods
public FullWidthDetailsOverviewRowPresentergetParentPresenter()

public FullWidthDetailsOverviewRowPresenter.ViewHoldergetParentViewHolder()

public booleanisSizeFromDrawableIntrinsic()

public voidsetSizeFromDrawableIntrinsic(boolean sizeFromDrawableIntrinsic)

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

from Presenter.ViewHoldergetFacet, setFacet
from java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Fields

protected FullWidthDetailsOverviewRowPresenter mParentPresenter

Constructors

public ViewHolder(View view)

Methods

public FullWidthDetailsOverviewRowPresenter getParentPresenter()

public boolean isSizeFromDrawableIntrinsic()

Returns:

True if layout size of ImageView should be changed to intrinsic size of Drawable, false otherwise. Used by DetailsOverviewLogoPresenter.onBindViewHolder(Presenter.ViewHolder, Object) .

See also: DetailsOverviewLogoPresenter.onCreateView(ViewGroup), DetailsOverviewLogoPresenter.onBindViewHolder(Presenter.ViewHolder, Object)

public void setSizeFromDrawableIntrinsic(boolean sizeFromDrawableIntrinsic)

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

Parameters:

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

See also: DetailsOverviewLogoPresenter.onCreateView(ViewGroup), DetailsOverviewLogoPresenter.onBindViewHolder(Presenter.ViewHolder, Object)