PreferenceFragment.OnPreferenceDisplayDialogCallback

Added in 1.0.0
Deprecated in 1.1.0

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

abstract boolean

Public methods

onPreferenceDisplayDialog

Added in 1.0.0
Deprecated in 1.1.0
abstract boolean onPreferenceDisplayDialog(
    @NonNull PreferenceFragment caller,
    @NonNull Preference pref
)
Parameters
@NonNull PreferenceFragment 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