Share via


Instrumentation.CallActivityOnPostCreate Method

Definition

Overloads

CallActivityOnPostCreate(Activity, Bundle)

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

CallActivityOnPostCreate(Activity, Bundle, PersistableBundle)

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

CallActivityOnPostCreate(Activity, Bundle)

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

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

Parameters

activity
Activity

The activity being created.

savedInstanceState
Bundle

The previously saved state (or null) to pass through to onPostCreate().

Attributes

Remarks

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

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

CallActivityOnPostCreate(Activity, Bundle, PersistableBundle)

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

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

Parameters

activity
Activity

The activity being created.

savedInstanceState
Bundle

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

persistentState
PersistableBundle

The previously persisted state (or null)

Attributes

Remarks

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

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