PreferenceFragment.OnPreferenceDisplayDialogCallback

Added in 1.0.0
Deprecated in 1.1.0

interface PreferenceFragment.OnPreferenceDisplayDialogCallback

Known direct subclasses

Interface that the fragment's containing activity should implement to be able to process preference items that wish to display a dialog.

Summary

Public functions

Boolean

Public functions

onPreferenceDisplayDialog

Added in 1.0.0
Deprecated in 1.1.0
fun onPreferenceDisplayDialog(caller: PreferenceFragment, pref: Preference): Boolean
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