Android.Preferences Namespace
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
The preferences portion of an application should be ran as a separate Activity that extends the PreferenceActivity class.
Classes
CheckBoxPreference |
A |
DialogPreference |
A base class for |
EditTextPreference |
A |
ListPreference |
A |
MultiSelectListPreference |
A |
Preference |
Represents the basic Preference UI building
block displayed by a |
Preference.BaseSavedState |
A base class for managing the instance state of a |
Preference.PreferenceChangeEventArgs |
Provides data for the PreferenceChange event. |
Preference.PreferenceClickEventArgs |
Provides data for the PreferenceClick event. |
PreferenceActivity |
This is the base class for an activity to show a hierarchy of preferences to the user. |
PreferenceActivity.Header |
Description of a single Header item that the user can select. |
PreferenceActivity.Header.InterfaceConsts | |
PreferenceCategory |
Used to group |
PreferenceFragment |
Shows a hierarchy of |
PreferenceGroup |
A container for multiple
|
PreferenceManager |
Used to help create |
PreferenceManager.ActivityResultEventArgs | |
PreferenceScreen |
Represents a top-level |
RingtonePreference |
A |
SwitchPreference |
A |
TwoStatePreference |
Common base class for preferences that have two selectable states, persist a boolean value in SharedPreferences, and may have dependent preferences that are enabled/disabled based on the current state. |
Interfaces
IPreferenceDataStore |
A data store interface to be implemented and provided to the Preferences framework. |
Preference.IOnPreferenceChangeListener |
Interface definition for a callback to be invoked when the value of this
|
Preference.IOnPreferenceClickListener |
Interface definition for a callback to be invoked when a |
PreferenceFragment.IOnPreferenceStartFragmentCallback |
Interface that PreferenceFragment's containing activity should implement to be able to process preference items that wish to switch to a new fragment. |
PreferenceManager.IOnActivityDestroyListener |
Interface definition for a class that will be called when the container's activity is destroyed. |
PreferenceManager.IOnActivityResultListener |
Interface definition for a class that will be called when the container's activity receives an activity result. |
PreferenceManager.IOnActivityStopListener |
Interface definition for a class that will be called when the container's activity is stopped. |