PreferenceManager.OnDisplayPreferenceDialogListener


public interface PreferenceManager.OnDisplayPreferenceDialogListener

Known direct subclasses
PreferenceFragmentCompat

A PreferenceFragmentCompat is the entry point to using the Preference library.

PreferenceFragment

This class is deprecated.

Use PreferenceFragmentCompat instead

Known indirect subclasses
BaseLeanbackPreferenceFragmentCompat

This fragment provides a preference fragment with leanback-style behavior, suitable for embedding into broader UI elements.

BaseLeanbackPreferenceFragment

This class is deprecated.

Use BaseLeanbackPreferenceFragmentCompat

LeanbackPreferenceFragmentCompat

This fragment provides a fully decorated leanback-style preference fragment, including a list background and header.

LeanbackPreferenceFragment

This class is deprecated.

Use LeanbackPreferenceFragmentCompat


Interface definition for a class that will be called when a Preference requests to display a dialog.

Summary

Public methods

abstract void

Called when a preference in the tree requests to display a dialog.

Public methods

onDisplayPreferenceDialog

Added in 1.0.0
abstract void onDisplayPreferenceDialog(@NonNull Preference preference)

Called when a preference in the tree requests to display a dialog.

Parameters
@NonNull Preference preference

The Preference object requesting the dialog