ListPreferenceDialogFragmentCompat

public class ListPreferenceDialogFragmentCompat
extends PreferenceDialogFragmentCompat

java.lang.Object
   ↳ androidx.fragment.app.Fragment
     ↳ androidx.fragment.app.DialogFragment
       ↳ androidx.preference.PreferenceDialogFragmentCompat
         ↳ androidx.preference.ListPreferenceDialogFragmentCompat


Summary

Inherited constants

Public constructors

ListPreferenceDialogFragmentCompat()

Public methods

static ListPreferenceDialogFragmentCompat newInstance(String key)
void onCreate(Bundle savedInstanceState)

Called to do initial creation of a fragment.

void onDialogClosed(boolean positiveResult)
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.

Protected methods

void onPrepareDialogBuilder(AlertDialog.Builder builder)

Prepares the dialog builder to be shown when the preference is clicked.

Inherited methods