Register now for Android Dev Summit 2019!

OnDisplayPreferenceDialogListener

interface 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 Unit

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

Public methods

onDisplayPreferenceDialog

abstract fun onDisplayPreferenceDialog(preference: Preference!): Unit

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

Parameters
preference Preference!: The Preference object requesting the dialog