DetailsOverviewRowPresenter.ViewHolder

Added in 1.1.0
Deprecated in 1.1.0

public final inner class DetailsOverviewRowPresenter.ViewHolder extends RowPresenter.ViewHolder


A ViewHolder for the DetailsOverviewRow.

Summary

Public constructors

ViewHolder(View rootView, Presenter detailsPresenter)

Constructor for the ViewHolder.

Inherited methods

From androidx.leanback.widget.FacetProvider
abstract @Nullable Object
getFacet(@NonNull Class<Object> facetClass)

Queries optional implemented facet.

From androidx.leanback.widget.Presenter.ViewHolder
final Object
getFacet(Class<Object> facetClass)

Queries optional implemented facet.

final void
setFacet(Class<Object> facetClass, Object facetImpl)

Sets dynamic implemented facet in addition to basic ViewHolder functions.

From androidx.leanback.widget.RowPresenter.ViewHolder
final RowHeaderPresenter.ViewHolder

Returns the view holder for the Row header for this Row.

final BaseOnItemViewClickedListener

Returns the listener for item click event.

final BaseOnItemViewSelectedListener

Returns the listener for item or row selection.

View.OnKeyListener

Returns the key listener.

final Row

Returns the row bound to this ViewHolder.

final Object

Returns the Row object bound to this ViewHolder.

final float

Returns the current selection level of the Row.

@Nullable Object

Return currently selected item inside a row ViewHolder.

@Nullable Presenter.ViewHolder

Return ViewHolder of currently selected item inside a row ViewHolder.

final boolean

Returns whether the Row is in its expanded state.

final boolean

Returns whether the Row is selected.

final void
setActivated(boolean activated)

Sets the row view's activated status.

final void

Sets the listener for item click event.

final void

Sets the listener for item or row selection.

void

Sets a key listener.

final void

Synchronizes the activated status of view to the last value passed through setActivated.

Public fields

mDetailsDescriptionViewHolder

Added in 1.1.0
Deprecated in 1.1.0
public final Presenter.ViewHolder mDetailsDescriptionViewHolder

Public constructors

ViewHolder

Added in 1.1.0
Deprecated in 1.1.0
public ViewHolder(View rootView, Presenter detailsPresenter)

Constructor for the ViewHolder.

Parameters
View rootView

The root View that this view holder will be attached to.