LeanbackListPreferenceDialogFragment.ViewHolder


class LeanbackListPreferenceDialogFragment.ViewHolder : RecyclerView.ViewHolder, View.OnClickListener


ViewHolder of the List.

Summary

Nested types

This interface is deprecated. Deprecated in Java

Public constructors

This function is deprecated. Deprecated in Java

Public functions

ViewGroup!

This function is deprecated. Deprecated in Java

TextView!

This function is deprecated. Deprecated in Java

Checkable!

This function is deprecated. Deprecated in Java

Unit

This function is deprecated. Deprecated in Java

Inherited functions

From androidx.recyclerview.widget.RecyclerView.ViewHolder
Int

This function is deprecated. Deprecated in Java

Int

This function is deprecated.

This method is confusing when adapters nest other adapters.

RecyclerView.Adapter<RecyclerView.ViewHolder!>?

This function is deprecated. Deprecated in Java

Int

This function is deprecated. Deprecated in Java

Long

This function is deprecated. Deprecated in Java

Int

This function is deprecated. Deprecated in Java

Int

This function is deprecated. Deprecated in Java

Int

This function is deprecated. Deprecated in Java

Int

This function is deprecated.

This method is deprecated because its meaning is ambiguous due to the async handling of adapter updates.

Boolean

This function is deprecated. Deprecated in Java

Unit
setIsRecyclable(recyclable: Boolean)

This function is deprecated. Deprecated in Java

String!

This function is deprecated. Deprecated in Java

Inherited properties

From androidx.recyclerview.widget.RecyclerView.ViewHolder
View

This property is deprecated. Deprecated in Java

Public constructors

ViewHolder

Added in 1.1.0
Deprecated in 1.1.0
ViewHolder(
    view: View,
    listener: LeanbackListPreferenceDialogFragment.ViewHolder.OnItemClickListener
)

Public functions

getContainer

Added in 1.1.0
Deprecated in 1.1.0
fun getContainer(): ViewGroup!

getTitleView

Added in 1.1.0
Deprecated in 1.1.0
fun getTitleView(): TextView!

getWidgetView

Added in 1.1.0
Deprecated in 1.1.0
fun getWidgetView(): Checkable!

onClick

Added in 1.1.0
Deprecated in 1.1.0
fun onClick(v: View!): Unit