Freigeben über


Instrumentation.CallActivityOnRestart(Activity) Method

Definition

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

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

Parameters

activity
Activity

The activity being restarted.

Attributes

Remarks

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

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