Google 致力于为黑人社区推动种族平等。查看具体举措

AdapterSingle

open class AdapterSingle : RecyclerView.Adapter<LeanbackListPreferenceDialogFragment.ViewHolder!>, LeanbackListPreferenceDialogFragment.ViewHolder.OnItemClickListener
kotlin.Any
   ↳ androidx.recyclerview.widget.RecyclerView.Adapter<androidx.leanback.preference.LeanbackListPreferenceDialogFragment.ViewHolder>
   ↳ androidx.leanback.preference.LeanbackListPreferenceDialogFragment.AdapterSingle

Adapter for single choice.

Summary

Public constructors
<init>(entries: Array<CharSequence!>!, entryValues: Array<CharSequence!>!, selectedValue: CharSequence!)

Public methods
open Int

open Unit

open LeanbackListPreferenceDialogFragment.ViewHolder
onCreateViewHolder(parent: ViewGroup, viewType: Int)

open Unit

Inherited functions