Sdílet prostřednictvím


Platform.CurrentActivity Property

Definition

Gets the current Activity. This value is set OnCreate, OnPause, and OnResume.

public static Android.App.Activity CurrentActivity { get; }

Property Value

Android.App.Activity

The current Activity or null if none or Init was not called.

Applies to