androidx.preference
The Preference library allows you to build interactive settings screens, without needing to handle interacting with device storage or managing the user interface.
Interfaces
DialogPreference.TargetFragment | Interface for |
EditTextPreference.OnBindEditTextListener | Interface definition for a callback to be invoked when the corresponding dialog view for this preference is bound. |
Preference.OnPreferenceChangeListener | Interface definition for a callback to be invoked when the value of this |
Preference.OnPreferenceClickListener | Interface definition for a callback to be invoked when a |
Preference.SummaryProvider | Interface definition for a callback to be invoked when the summary of this |
PreferenceFragment.OnPreferenceDisplayDialogCallback | Interface that the fragment's containing activity should implement to be able to process preference items that wish to display a dialog. |
PreferenceFragment.OnPreferenceStartFragmentCallback | Interface that the fragment's containing activity should implement to be able to process preference items that wish to switch to a specified fragment. |
PreferenceFragment.OnPreferenceStartScreenCallback | Interface that the fragment's containing activity should implement to be able to process preference items that wish to switch to a new screen of preferences. |
PreferenceFragmentCompat.OnPreferenceDisplayDialogCallback | Interface that the fragment's containing activity should implement to be able to process preference items that wish to display a dialog. |
PreferenceFragmentCompat.OnPreferenceStartFragmentCallback | Interface that the fragment's containing activity should implement to be able to process preference items that wish to switch to a specified fragment. |
PreferenceFragmentCompat.OnPreferenceStartScreenCallback | Interface that the fragment's containing activity should implement to be able to process preference items that wish to switch to a new screen of preferences. |
PreferenceGroup.PreferencePositionCallback | Interface for PreferenceGroup adapters to implement so that |
PreferenceManager.OnDisplayPreferenceDialogListener | Interface definition for a class that will be called when a |
PreferenceManager.OnNavigateToScreenListener | Interface definition for a class that will be called when a |
PreferenceManager.OnPreferenceTreeClickListener | Interface definition for a callback to be invoked when a |
Classes
CheckBoxPreference | A |
DialogPreference | A base class for |
DropDownPreference | A |
EditTextPreference | A |
EditTextPreference.SimpleSummaryProvider | A simple |
EditTextPreferenceDialogFragment | This class is deprecated. Use |
EditTextPreferenceDialogFragmentCompat | |
ListPreference | A |
ListPreference.SimpleSummaryProvider | A simple |
ListPreferenceDialogFragment | This class is deprecated. Use |
ListPreferenceDialogFragmentCompat | |
MultiSelectListPreference | A |
MultiSelectListPreferenceDialogFragment | This class is deprecated. Use |
MultiSelectListPreferenceDialogFragmentCompat | |
Preference | The basic building block that represents an individual setting displayed to a user in the preference hierarchy. |
Preference.BaseSavedState | A base class for managing the instance state of a |
PreferenceCategory | A container that is used to group similar |
PreferenceDataStore | A data store interface to be implemented and provided to the |
PreferenceDialogFragment | This class is deprecated. Use |
PreferenceDialogFragmentCompat | Abstract base class which presents a dialog associated with a |
PreferenceFragment | This class is deprecated. Use |
PreferenceFragmentCompat | A PreferenceFragmentCompat is the entry point to using the Preference library. |
PreferenceGroup | A container for multiple |
PreferenceGroupKt | |
PreferenceHeaderFragmentCompat |
|
PreferenceManager | Used to help create |
PreferenceManager.PreferenceComparisonCallback | Callback class to be used by the |
PreferenceManager.SimplePreferenceComparisonCallback | A basic implementation of |
PreferenceScreen | A top-level container that represents a settings screen. |
PreferenceViewHolder | A |
SeekBarPreference | Preference based on android.preference.SeekBarPreference but uses support preference as a base . |
SwitchPreference | A |
SwitchPreferenceCompat | A |
TwoStatePreference | Common base class for preferences that have two selectable states, save a boolean value, and may have dependent preferences that are enabled/disabled based on the current state. |