Android.App.Activity.OnRestoreInstanceState Method
This method is called after Activity.OnStart when the activity is being re-initialized from a previously saved state, given here in savedInstanceState.

Syntax

[Android.Runtime.Register("onRestoreInstanceState", "(Landroid/os/Bundle;)V", "GetOnRestoreInstanceState_Landroid_os_Bundle_Handler")]
protected virtual void OnRestoreInstanceState (Android.OS.Bundle savedInstanceState)

See Also

Activity.OnCreate(Android.OS.Bundle)
Activity.OnPostCreate(Android.OS.Bundle)
Activity.OnResume
Activity.OnSaveInstanceState(Android.OS.Bundle)

Parameters

savedInstanceState
the data most recently supplied in Activity.OnSaveInstanceState(Android.OS.Bundle).

Remarks

This method is called after Activity.OnStart when the activity is being re-initialized from a previously saved state, given here in savedInstanceState. Most implementations will simply use Activity.OnCreate(Android.OS.Bundle) to restore their state, but it is sometimes convenient to do it here after all of the initialization has been done or to allow subclasses to decide whether to use your default implementation. The default implementation of this method performs a restore of any view state that had previously been frozen by Activity.OnSaveInstanceState(Android.OS.Bundle).

This method is called between Activity.OnStart and Activity.OnPostCreate(Android.OS.Bundle).

[Android Documentation]

Requirements

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