DetailsOverviewRowPresenter.ViewHolder

Added in 1.1.0
Deprecated in 1.1.0

inner class DetailsOverviewRowPresenter.ViewHolder : RowPresenter.ViewHolder


A ViewHolder for the DetailsOverviewRow.

Summary

Public constructors

ViewHolder(rootView: View!, detailsPresenter: Presenter!)

Constructor for the ViewHolder.

Inherited functions

From androidx.leanback.widget.FacetProvider
abstract Any?
getFacet(facetClass: Class<Any!>)

Queries optional implemented facet.

From androidx.leanback.widget.Presenter.ViewHolder
Any!
getFacet(facetClass: Class<Any!>!)

Queries optional implemented facet.

Unit
setFacet(facetClass: Class<Any!>!, facetImpl: Any!)

Sets dynamic implemented facet in addition to basic ViewHolder functions.

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

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

BaseOnItemViewClickedListener!

Returns the listener for item click event.

BaseOnItemViewSelectedListener!

Returns the listener for item or row selection.

View.OnKeyListener!

Returns the key listener.

Row!

Returns the row bound to this ViewHolder.

Any!

Returns the Row object bound to this ViewHolder.

Float

Returns the current selection level of the Row.

Any?

Return currently selected item inside a row ViewHolder.

Presenter.ViewHolder?

Return ViewHolder of currently selected item inside a row ViewHolder.

Boolean

Returns whether the Row is in its expanded state.

Boolean

Returns whether the Row is selected.

Unit
setActivated(activated: Boolean)

Sets the row view's activated status.

Unit

Sets the listener for item click event.

Unit

Sets the listener for item or row selection.

Unit

Sets a key listener.

Unit

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

Public constructors

ViewHolder

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

Constructor for the ViewHolder.

Parameters
rootView: View!

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

Public properties

mDetailsDescriptionViewHolder

Added in 1.1.0
Deprecated in 1.1.0
val mDetailsDescriptionViewHolderPresenter.ViewHolder!