Instrumentation.CallActivityOnCreate Method

Definition

Overloads

CallActivityOnCreate(Activity, Bundle, PersistableBundle)

Perform calling of an activity's Activity#onCreate method.

CallActivityOnCreate(Activity, Bundle)

Perform calling of an activity's Activity#onCreate method.

CallActivityOnCreate(Activity, Bundle, PersistableBundle)

Perform calling of an activity's Activity#onCreate method.

[Android.Runtime.Register("callActivityOnCreate", "(Landroid/app/Activity;Landroid/os/Bundle;Landroid/os/PersistableBundle;)V", "GetCallActivityOnCreate_Landroid_app_Activity_Landroid_os_Bundle_Landroid_os_PersistableBundle_Handler")]
public virtual void CallActivityOnCreate (Android.App.Activity? activity, Android.OS.Bundle? icicle, Android.OS.PersistableBundle? persistentState);
[<Android.Runtime.Register("callActivityOnCreate", "(Landroid/app/Activity;Landroid/os/Bundle;Landroid/os/PersistableBundle;)V", "GetCallActivityOnCreate_Landroid_app_Activity_Landroid_os_Bundle_Landroid_os_PersistableBundle_Handler")>]
abstract member CallActivityOnCreate : Android.App.Activity * Android.OS.Bundle * Android.OS.PersistableBundle -> unit
override this.CallActivityOnCreate : Android.App.Activity * Android.OS.Bundle * Android.OS.PersistableBundle -> unit

Parameters

activity
Activity

The activity being created.

icicle
Bundle

The previously frozen state (or null) to pass through to

persistentState
PersistableBundle

The previously persisted state (or null)

Attributes

Remarks

Perform calling of an activity's Activity#onCreate method. The default implementation simply calls through to that method.

Java documentation for android.app.Instrumentation.callActivityOnCreate(android.app.Activity, android.os.Bundle, android.os.PersistableBundle).

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

CallActivityOnCreate(Activity, Bundle)

Perform calling of an activity's Activity#onCreate method.

[Android.Runtime.Register("callActivityOnCreate", "(Landroid/app/Activity;Landroid/os/Bundle;)V", "GetCallActivityOnCreate_Landroid_app_Activity_Landroid_os_Bundle_Handler")]
public virtual void CallActivityOnCreate (Android.App.Activity? activity, Android.OS.Bundle? icicle);
[<Android.Runtime.Register("callActivityOnCreate", "(Landroid/app/Activity;Landroid/os/Bundle;)V", "GetCallActivityOnCreate_Landroid_app_Activity_Landroid_os_Bundle_Handler")>]
abstract member CallActivityOnCreate : Android.App.Activity * Android.OS.Bundle -> unit
override this.CallActivityOnCreate : Android.App.Activity * Android.OS.Bundle -> unit

Parameters

activity
Activity

The activity being created.

icicle
Bundle

The previously frozen state (or null) to pass through to onCreate().

Attributes

Remarks

Perform calling of an activity's Activity#onCreate method. The default implementation simply calls through to that method.

Java documentation for android.app.Instrumentation.callActivityOnCreate(android.app.Activity, 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