Partager via


TextView.OnRestoreInstanceState(IParcelable) Method

Definition

Hook allowing a view to re-apply a representation of its internal state that had previously been generated by OnSaveInstanceState().

[Android.Runtime.Register("onRestoreInstanceState", "(Landroid/os/Parcelable;)V", "GetOnRestoreInstanceState_Landroid_os_Parcelable_Handler")]
public virtual void OnRestoreInstanceState (Android.OS.IParcelable? state);
[<Android.Runtime.Register("onRestoreInstanceState", "(Landroid/os/Parcelable;)V", "GetOnRestoreInstanceState_Landroid_os_Parcelable_Handler")>]
override this.OnRestoreInstanceState : Android.OS.IParcelable -> unit

Parameters

state
IParcelable

The frozen state that had previously been returned by OnSaveInstanceState().

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