이제 두 번째 Android 11 개발자 프리뷰를 사용할 수 있습니다. 테스트해 보고 의견을 공유하세요.

ViewHolder

class ViewHolder : RecyclerView.ViewHolder, OnClickListener
kotlin.Any
   ↳ androidx.recyclerview.widget.RecyclerView.ViewHolder
   ↳ androidx.leanback.preference.LeanbackListPreferenceDialogFragmentCompat.ViewHolder

ViewHolder for each Item in the List.

Summary

Public methods

ViewGroup!

TextView!

Checkable!

Unit

Inherited functions

Inherited properties

Public methods

getContainer

fun getContainer(): ViewGroup!

getTitleView

fun getTitleView(): TextView!

getWidgetView

fun getWidgetView(): Checkable!

onClick

fun onClick(v: View!): Unit