Google 致力于为黑人社区推动种族平等。查看具体举措

PreferenceManager.OnDisplayPreferenceDialogListener

public static interface PreferenceManager.OnDisplayPreferenceDialogListener

androidx.preference.PreferenceManager.OnDisplayPreferenceDialogListener


Interface definition for a class that will be called when a Preference requests to display a dialog.

Summary

Public methods

abstract void onDisplayPreferenceDialog(Preference preference)

Called when a preference in the tree requests to display a dialog.

Public methods

onDisplayPreferenceDialog

public abstract void onDisplayPreferenceDialog (Preference preference)

Called when a preference in the tree requests to display a dialog.

Parameters
preference Preference: The Preference object requesting the dialog