View.OnSaveInstanceState View.OnSaveInstanceState Method


Hook allowing a view to generate a representation of its internal state that can later be used to create a new instance with that same state.

[Android.Runtime.Register("onSaveInstanceState", "()Landroid/os/Parcelable;", "GetOnSaveInstanceStateHandler")]
protected virtual Android.OS.IParcelable OnSaveInstanceState ();
abstract member OnSaveInstanceState : unit -> Android.OS.IParcelable
override this.OnSaveInstanceState : unit -> Android.OS.IParcelable



Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to

See also