Forum Xamarin.Forms
We are excited to announce that the Xamarin Forums are moving to the new Microsoft Q&A experience. Q&A is the home for technical questions and answers at across all products at Microsoft now including Xamarin!

We encourage you to head over to Microsoft Q&A for .NET for posting new questions and get involved today.

OnResume not called after pressing back (to leave Android app) and reopening the app

I am working on an app that has a loading page set up for when the app starts as it gathers all of the data needed to begin the user's experience. This data is set up in the OnAppearing method. This works for most use cases except if you use the Android back button to get out of the app. When you press home to get out of the app, and then go back into it, OnResume is called for the app and all data is still there from the previous session, however when you go back into the app after pressing the back button, OnResume is not called but data is still there. Has anyone else run into OnResume not being called in this situation? Am I right in thinking that OnResume should be called in this situation? This seems to be causing an issue where part of the app is expecting OnResume and the other part is waiting for everything to start from scratch.

Best Answers


Sign In or Register to comment.