I'm working with a Xamarin Native application, and would like to perform some logic when the application is focused / out of focused in android - similar to Xamarin.Forms Application.OnSleep(), and Application.OnResume() (not to be confused with Activity.OnResume, and Activity.OnPause)
Just wondering what solution others have used to solve this scenario (besides migrating to Xamarin.Forms).
So far it appears to work as expected. ProcessLifecycleOwner is in the
Xamarin.Android.Arch.Lifecycle.Extensionsnuget package.