LeanbackListPreferenceDialogFragmentCompat

public class LeanbackListPreferenceDialogFragmentCompat
extends LeanbackPreferenceDialogFragmentCompat

java.lang.Object
   ↳ androidx.fragment.app.Fragment
     ↳ androidx.leanback.preference.LeanbackPreferenceDialogFragmentCompat
       ↳ androidx.leanback.preference.LeanbackListPreferenceDialogFragmentCompat


Implemented a dialog to show ListPreference or MultiSelectListPreference.

Summary

Nested classes

class LeanbackListPreferenceDialogFragmentCompat.ViewHolder

ViewHolder for each Item in the List. 

Inherited constants

Public constructors

LeanbackListPreferenceDialogFragmentCompat()

Public methods

static LeanbackListPreferenceDialogFragmentCompat newInstanceMulti(String key)

Create a new LeanbackListPreferenceDialogFragmentCompat.

static LeanbackListPreferenceDialogFragmentCompat newInstanceSingle(String key)

Create a new LeanbackListPreferenceDialogFragmentCompat.

void onCreate(Bundle savedInstanceState)

Called to do initial creation of a fragment.

View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState)

Called to have the fragment instantiate its user interface view.

void onSaveInstanceState(Bundle outState)

Called to ask the fragment to save its current dynamic state, so it can later be reconstructed in a new instance if its process is restarted.

Inherited methods