RowHeaderPresenter.ViewHolder


class RowHeaderPresenter.ViewHolder : Presenter.ViewHolder


A ViewHolder for the RowHeaderPresenter.

Summary

Public constructors

Creating a new ViewHolder that supports title and description.

Public functions

Float

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.

Public constructors

ViewHolder

Added in 1.2.0-alpha04
ViewHolder(view: View)

Creating a new ViewHolder that supports title and description.

Parameters
view: View

Root of Views.

Public functions

getSelectLevel

Added in 1.1.0
fun getSelectLevel(): Float