共用方式為


AbsListView.OnSaveInstanceState Method

Definition

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")]
public virtual Android.OS.IParcelable? OnSaveInstanceState ();
[<Android.Runtime.Register("onSaveInstanceState", "()Landroid/os/Parcelable;", "GetOnSaveInstanceStateHandler")>]
override this.OnSaveInstanceState : unit -> Android.OS.IParcelable

Returns

Attributes

Remarks

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