PreferenceFragment.OnPreferenceDisplayDialogCallback

public static interface PreferenceFragment.OnPreferenceDisplayDialogCallback

androidx.preference.PreferenceFragment.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(PreferenceFragment caller, Preference pref)

Public methods

onPreferenceDisplayDialog

public abstract boolean onPreferenceDisplayDialog (PreferenceFragment caller, 
                Preference pref)

Parameters
caller PreferenceFragment: 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