Instrumentation.CallActivityOnCreate Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
CallActivityOnCreate(Activity, Bundle, PersistableBundle) |
Perform calling of an activity's |
CallActivityOnCreate(Activity, Bundle) |
Perform calling of an activity's |
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.
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.
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.