PreferenceFragmentCompat.OnPreferenceDisplayDialogCallback

interface PreferenceFragmentCompat.OnPreferenceDisplayDialogCallback

Known direct subclasses
LeanbackSettingsFragmentCompat

This fragment provides a container for displaying a LeanbackPreferenceFragmentCompat


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
fun onPreferenceDisplayDialog(
    caller: PreferenceFragmentCompat,
    pref: Preference
): Boolean
Parameters
caller: PreferenceFragmentCompat

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