Udostępnij za pośrednictwem


Instrumentation.CallActivityOnStart(Activity) Method

Definition

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

[Android.Runtime.Register("callActivityOnStart", "(Landroid/app/Activity;)V", "GetCallActivityOnStart_Landroid_app_Activity_Handler")]
public virtual void CallActivityOnStart (Android.App.Activity? activity);
[<Android.Runtime.Register("callActivityOnStart", "(Landroid/app/Activity;)V", "GetCallActivityOnStart_Landroid_app_Activity_Handler")>]
abstract member CallActivityOnStart : Android.App.Activity -> unit
override this.CallActivityOnStart : Android.App.Activity -> unit

Parameters

activity
Activity

The activity being started.

Attributes

Remarks

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

Java documentation for android.app.Instrumentation.callActivityOnStart(android.app.Activity).

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