Android Dev Summit, October 23-24: two days of technical content, directly from the Android team. Sign-up for livestream updates.

ViewHolder

open class ViewHolder : Presenter.ViewHolder
kotlin.Any
   ↳ androidx.leanback.widget.Presenter.ViewHolder
   ↳ androidx.leanback.widget.RowHeaderPresenter.ViewHolder

A ViewHolder for the RowHeaderPresenter.

Summary

Public constructors

<init>(view: View!)

Creating a new ViewHolder that supports title and description.

Public methods

Float

Inherited functions

Inherited properties

Public constructors

<init>

ViewHolder(view: View!)

Creating a new ViewHolder that supports title and description.

Parameters
view View!: Root of Views.

Public methods

getSelectLevel

fun getSelectLevel(): Float