PreferenceDialogFragmentCompat

public abstract class PreferenceDialogFragmentCompat
extends DialogFragment implements DialogInterface.OnClickListener

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


Abstract base class which presents a dialog associated with a DialogPreference. Since the preference object may not be available during fragment re-creation, the necessary information for displaying the dialog is read once during the initial call to onCreate(Bundle) and saved/restored in the saved instance state. Custom subclasses should also follow this pattern.

Summary

Constants

String ARG_KEY

Inherited constants

Public constructors

PreferenceDialogFragmentCompat()

Public methods

DialogPreference