Android.Preferences.Preference.OnSaveInstanceState Method
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.

Syntax

[Android.Runtime.Register("onSaveInstanceState", "()Landroid/os/Parcelable;", "GetOnSaveInstanceStateHandler")]
protected virtual Android.OS.IParcelable OnSaveInstanceState ()

See Also

Preference.OnRestoreInstanceState(Android.OS.IParcelable)
Preference.SaveHierarchyState(Android.OS.Bundle)

Returns

Documentation for this section has not yet been entered.

Remarks

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. This state should only contain information that is not persistent or can be reconstructed later.

[Android Documentation]

Requirements

Namespace: Android.Preferences
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 1