Google は、黒人コミュニティに対する人種平等の促進に取り組んでいます。取り組みを見る

AdapterMulti

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

Adapter for multiple choices.

Summary

Public constructors
<init>(entries: Array<CharSequence!>!, entryValues: Array<CharSequence!>!, initialSelections: MutableSet<String!>!)

Public methods
open Int

open Unit

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

open Unit

Inherited functions

Public constructors

<init>

AdapterMulti(
    entries: Array<CharSequence!>!,
    entryValues: Array<CharSequence!>!,
    initialSelections: MutableSet<String!>!)

Public methods

getItemCount

open fun getItemCount(): Int

onBindViewHolder

open fun onBindViewHolder(
    holder: LeanbackListPreferenceDialogFragment.ViewHolder,
    position: Int
): Unit

onCreateViewHolder

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

onItemClick

open fun onItemClick(viewHolder: LeanbackListPreferenceDialogFragment.ViewHolder!): Unit