Save the date! Android Dev Summit is coming to Sunnyvale, CA on Oct 23-24, 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