Platform.CurrentActivity Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.