PreferenceFragmentCompat.OnPreferenceDisplayDialogCallback

public static interface PreferenceFragmentCompat.OnPreferenceDisplayDialogCallback

androidx.preference.PreferenceFragmentCompat.OnPreferenceDisplayDialogCallback


Interface that the fragment's containing activity should implement to be able to process preference items that wish to display a dialog.

Summary

Public methods

abstract boolean onPreferenceDisplayDialog(PreferenceFragmentCompat caller, Preference pref)

Public methods

onPreferenceDisplayDialog

public abstract boolean onPreferenceDisplayDialog (PreferenceFragmentCompat caller, 
                Preference pref)

Parameters
caller PreferenceFragmentCompat: The fragment containing the preference requesting the dialog

pref Preference: The preference requesting the dialog

Returns
boolean true if the dialog creation has been handled