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

Activity

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

Remarks

Applies to