The members of Android.Preferences.Preference are listed below.
See Also: Inherited members from Java.Lang.Object
Constructor to create a Preference. | ||
Constructor that is called when inflating a Preference from XML. | ||
Perform inflation from XML and apply a class-specific base style. | ||
Perform inflation from XML and apply a class-specific base style. |
A constructor used when creating managed representations of JNI objects; called by the runtime. |
const | DefaultOrder | int (2147483647). Specify for Preference.Order if a specific order is not required. |
[read-only] | Context | Android.Content.Context. Returns the Android.Content.Context of this Preference. |
Dependency | string. Returns the key of the dependency on this Preference. | |
[read-only] | Editor | Android.Content.ISharedPreferencesEditor. Returns an Android.Content.ISharedPreferencesEditor where this Preference can save its value(s). |
Enabled | bool. Checks whether this Preference should be enabled in the list. | |
[read-only] | Extras | Android.OS.Bundle. Return the extras Bundle object associated with this preference, creating a new Bundle if there currently isn't one. |
Fragment | string. Return the fragment class name associated with this Preference. | |
[read-only] | HasKey | bool. Checks whether this Preference has a valid key. |
Icon | Android.Graphics.Drawables.Drawable. Returns the icon of this Preference. | |
Intent | Android.Content.Intent. Return the Android.Content.Intent associated with this Preference. | |
Key | string. Gets the key for this Preference, which is also the key used for storing values into SharedPreferences. | |
LayoutResource | int. Gets the layout resource that will be shown as the Android.Views.View for this Preference. | |
OnPreferenceChangeListener | Android.Preferences.Preference.IOnPreferenceChangeListener. Returns the callback to be invoked when this Preference is changed by the user (but before the internal state has been updated). | |
OnPreferenceClickListener | Android.Preferences.Preference.IOnPreferenceClickListener. Returns the callback to be invoked when this Preference is clicked. | |
Order | int. Gets the order of this Preference with respect to other Preference objects on the same level. | |
Persistent | bool. Checks whether this Preference is persistent. | |
[read-only] | PreferenceManager | Android.Preferences.PreferenceManager. Gets the Android.Preferences.PreferenceManager that manages this Preference object's tree. |
Selectable | bool. Checks whether this Preference should be selectable in the list. | |
[read-only] | SharedPreferences | Android.Content.ISharedPreferences. Returns the Android.Content.ISharedPreferences where this Preference can read its value(s). |
ShouldDisableView | bool. Checks whether this Preference should disable its view when it's action is disabled. | |
Summary | string. Documentation for this section has not yet been entered. | |
SummaryFormatted | Java.Lang.ICharSequence. Returns the summary of this Preference. | |
Title | string. Documentation for this section has not yet been entered. | |
TitleFormatted | Java.Lang.ICharSequence. Returns the title of this Preference. | |
[read-only] | TitleRes | int. Returns the title resource ID of this Preference. |
WidgetLayoutResource | int. Gets the layout resource for the controllable widget portion of this Preference. |
[read-only] override | ThresholdClass | IntPtr. This API supports the Mono for Android infrastructure and is not intended to be used directly from your code. |
[read-only] override | ThresholdType | Type. This API supports the Mono for Android infrastructure and is not intended to be used directly from your code. |
CompareTo(Android.Preferences.Preference)Compares Preference objects based on order (if set), otherwise alphabetically on the titles. | ||
GetView(Android.Views.View, Android.Views.ViewGroup)Gets the View that will be shown in the Android.Preferences.PreferenceActivity. | ||
NotifyDependencyChange(bool)Notifies any listening dependents of a change that affects the dependency. | ||
OnDependencyChanged(Android.Preferences.Preference, bool)Called when the dependency changes. | ||
OnParentChanged(Android.Preferences.Preference, bool)Called when the implicit parent dependency changes. | ||
PeekExtras()Return the extras Bundle object associated with this preference, returning null if there is not currently one. | ||
RestoreHierarchyState(Android.OS.Bundle)Restore this Preference hierarchy's previously saved state from the given container. | ||
SaveHierarchyState(Android.OS.Bundle)Store this Preference hierarchy's frozen state into the given container. | ||
SetDefaultValue(Java.Lang.Object)Sets the default value for this Preference, which will be set either if persistence is off or persistence is on and the preference is not found in the persistent storage. | ||
SetIcon(int)Sets the icon for this Preference with a resource ID. | ||
SetSummary(int)Sets the summary for this Preference with a resource ID. | ||
SetTitle(int)Sets the title for this Preference with a resource ID. | ||
ShouldCommit()Returns whether the Android.Preferences.Preference should commit its saved value(s) in Preference.Editor. | ||
ShouldDisableDependents()Checks whether this preference's dependents should currently be disabled. |
CallChangeListener(Java.Lang.Object)Call this method after the user changes the preference, but before the internal state is set. | ||
FindPreferenceInHierarchy(string)Finds a Preference in this hierarchy (the whole thing, even above/below your Android.Preferences.PreferenceScreen screen break) with the given key. | ||
GetPersistedBoolean(bool)Attempts to get a persisted boolean from the Android.Content.ISharedPreferences. | ||
GetPersistedFloat(float)Attempts to get a persisted float from the Android.Content.ISharedPreferences. | ||
GetPersistedInt(int)Attempts to get a persisted int from the Android.Content.ISharedPreferences. | ||
GetPersistedLong(long)Attempts to get a persisted long from the Android.Content.ISharedPreferences. | ||
GetPersistedString(string)Attempts to get a persisted String from the Android.Content.ISharedPreferences. | ||
NotifyChanged()Should be called when the data of this Android.Preferences.Preference has changed. | ||
NotifyHierarchyChanged()Should be called when a Preference has been added/removed from this group, or the ordering should be re-evaluated. | ||
OnAttachedToActivity()Called when the Preference hierarchy has been attached to the Android.Preferences.PreferenceActivity. | ||
OnAttachedToHierarchy(Android.Preferences.PreferenceManager)Called when this Preference has been attached to a Preference hierarchy. | ||
OnBindView(Android.Views.View)Binds the created View to the data for this Preference. | ||
OnClick()Processes a click on the preference. | ||
OnCreateView(Android.Views.ViewGroup)Creates the View to be shown for this Preference in the Android.Preferences.PreferenceActivity. | ||
OnGetDefaultValue(Android.Content.Res.TypedArray, int)Called when a Preference is being inflated and the default value attribute needs to be read. | ||
OnPrepareForRemoval()Called when this Preference is being removed from the hierarchy. | ||
OnRestoreInstanceState(Android.OS.IParcelable)Hook allowing a Preference to re-apply a representation of its internal state that had previously been generated by Preference.OnSaveInstanceState. | ||
OnSaveInstanceState()Hook allowing a Preference to generate a representation of its internal state that can later be used to create a new instance with that same state. | ||
OnSetInitialValue(bool, Java.Lang.Object)Implement this to set the initial value of the Preference. | ||
PersistBoolean(bool)Attempts to persist a boolean to the Android.Content.ISharedPreferences. | ||
PersistFloat(float)Attempts to persist a float to the Android.Content.ISharedPreferences. | ||
PersistInt(int)Attempts to persist an int to the Android.Content.ISharedPreferences. | ||
PersistLong(long)Attempts to persist a long to the Android.Content.ISharedPreferences. | ||
PersistString(string)Attempts to persist a String to the Android.Content.ISharedPreferences. | ||
ShouldPersist()Checks whether, at the given time this method is called, this Preference should store/restore its value(s) into the Android.Content.ISharedPreferences. |
PreferenceChange | Documentation for this section has not yet been entered. | |
PreferenceClick | Documentation for this section has not yet been entered. |
Java.Lang.IComparable.CompareTo | Documentation for this section has not yet been entered. |