PreferenceFragmentCompat.OnPreferenceDisplayDialogCallback


public 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 methods

abstract boolean

Public methods

onPreferenceDisplayDialog

Added in 1.0.0
abstract boolean onPreferenceDisplayDialog(
    @NonNull PreferenceFragmentCompat caller,
    @NonNull Preference pref
)
Parameters
@NonNull PreferenceFragmentCompat caller

The fragment containing the preference requesting the dialog

@NonNull Preference pref

The preference requesting the dialog

Returns
boolean

true if the dialog creation has been handled