The methods of Android.Preferences.Preference are listed below. For a list of all members, see the Preference Members list.
See Also: Inherited members from Java.Lang.Object
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. |