LeanbackListPreferenceDialogFragmentCompat

open class LeanbackListPreferenceDialogFragmentCompat : LeanbackPreferenceDialogFragmentCompat
kotlin.Any
   ↳ androidx.fragment.app.Fragment
   ↳ androidx.leanback.preference.LeanbackPreferenceDialogFragmentCompat
   ↳ androidx.leanback.preference.LeanbackListPreferenceDialogFragmentCompat

Implemented a dialog to show ListPreference or MultiSelectListPreference.

Summary

Nested classes

ViewHolder for each Item in the List.

Inherited constants

Public constructors

Implemented a dialog to show ListPreference or MultiSelectListPreference.

Public methods

open static LeanbackListPreferenceDialogFragmentCompat!

Create a new LeanbackListPreferenceDialogFragmentCompat.

open static LeanbackListPreferenceDialogFragmentCompat!

Create a new LeanbackListPreferenceDialogFragmentCompat.

open Unit
onCreate(savedInstanceState: Bundle?)

open View?
onCreateView(@NonNull inflater: LayoutInflater, container: ViewGroup?, savedInstanceState: Bundle?)

open Unit
onSaveInstanceState(@NonNull outState: Bundle)

Inherited functions

Public constructors

<init>

LeanbackListPreferenceDialogFragmentCompat()

Implemented a dialog to show ListPreference or MultiSelectListPreference.

Public methods

newInstanceMulti

open static fun newInstanceMulti(key: String!): LeanbackListPreferenceDialogFragmentCompat!

Create a new LeanbackListPreferenceDialogFragmentCompat.

Parameters
key String!: The key of MultiSelectListPreference it will be created from.
Return
LeanbackListPreferenceDialogFragmentCompat!: A new LeanbackListPreferenceDialogFragmentCompat to display.

newInstanceSingle

open static fun newInstanceSingle(key: String!): LeanbackListPreferenceDialogFragmentCompat!

Create a new LeanbackListPreferenceDialogFragmentCompat.

Parameters
key String!: The key of ListPreference it will be created from.
Return
LeanbackListPreferenceDialogFragmentCompat!: A new LeanbackListPreferenceDialogFragmentCompat to display.

onCreate

open fun onCreate(savedInstanceState: Bundle?): Unit

onCreateView

open fun onCreateView(@NonNull inflater: LayoutInflater, container: ViewGroup?, savedInstanceState: Bundle?): View?

onSaveInstanceState

open fun onSaveInstanceState(@NonNull outState: Bundle): Unit