lightbulb_outline Please take our October 2018 developer survey. Start survey
added in version 1.0.0
belongs to Maven artifact androidx.preference:preference:1.0.0

PreferenceFragment.OnPreferenceDisplayDialogCallback

public static interface PreferenceFragment.OnPreferenceDisplayDialogCallback

androidx.preference.PreferenceFragment.OnPreferenceDisplayDialogCallback


Summary

Public methods

abstract boolean onPreferenceDisplayDialog(PreferenceFragment caller, Preference pref)

Public methods

onPreferenceDisplayDialog

added in version 1.0.0
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.