Läs på engelska

Dela via


Instrumentation.CallActivityOnStop(Activity) Method

Definition

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

C#
[Android.Runtime.Register("callActivityOnStop", "(Landroid/app/Activity;)V", "GetCallActivityOnStop_Landroid_app_Activity_Handler")]
public virtual void CallActivityOnStop(Android.App.Activity? activity);

Parameters

activity
Activity

The activity being stopped.

Attributes

Remarks

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

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

Produkt Versioner
.NET for Android .NET for Android API 34, .NET for Android API 35