If you want to access the current activity on Android you will need to use the code below:
Microsoft.Maui.ApplicationModel.Platform.CurrentActivity
They made it very easy to access it. Appreciate it!
András Tóth‘s professional blog
banditoth.net
Hey there 👋, I’m banditoth a .NET MAUI developer from Hungary.
I write about software development with .NET technologies.
You can find me on:
LinkedIn | Github | StackOverflow | X / Twitter | Threads
If you want to access the current activity on Android you will need to use the code below:
Microsoft.Maui.ApplicationModel.Platform.CurrentActivity
They made it very easy to access it. Appreciate it!