LocalActivityManager.DispatchCreate(Bundle) Method

Definition

Caution

deprecated

Restore a state that was previously returned by #saveInstanceState.

[Android.Runtime.Register("dispatchCreate", "(Landroid/os/Bundle;)V", "GetDispatchCreate_Landroid_os_Bundle_Handler")]
[System.Obsolete("deprecated")]
public virtual void DispatchCreate (Android.OS.Bundle? state);
[<Android.Runtime.Register("dispatchCreate", "(Landroid/os/Bundle;)V", "GetDispatchCreate_Landroid_os_Bundle_Handler")>]
[<System.Obsolete("deprecated")>]
abstract member DispatchCreate : Android.OS.Bundle -> unit
override this.DispatchCreate : Android.OS.Bundle -> unit

Parameters

state
Bundle

a previously saved state; does nothing if this is null

Attributes

Remarks

Restore a state that was previously returned by #saveInstanceState. This adds to the activity group information about all activity IDs that had previously been saved, even if they have not been started yet, so if the user later navigates to them the correct state will be restored.

Note: This does <b>not</b> change the current running activity, or start whatever activity was previously running when the state was saved. That is up to the client to do, in whatever way it thinks is best.

Java documentation for android.app.LocalActivityManager.dispatchCreate(android.os.Bundle).

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