I've got a strange behavior when application is resumed by Android OS, it could be a bug or some Forms' feature.
I'm using 2.3.3 XF with Android 15 SDK.
This is my navigation stack:
= First page
== Second page
=== Third page
==== Fourth page
All these pages have their OnAppearing overridden.
I switch pages with Navigation.PushAsync.
I'm on Fourth page and my application becomes hidden (OnPause method in Droid's MainActivity is calling), but when I return to my application (OnResume method in Droid's MainActivity is calling) the following happens:
1. First page's OnAppearing is being called.
2. Second page's OnAppearing is being called.
3. Third page's OnAppearing is being called.
4. Fourth page's OnAppearing is being called.
All these pages get their OnAppearing called, the same time I'm on the Fourth page and assume only its OnAppearing should be called. Then I go back (with pressing Back button) to the Third page and its OnAppearing is not being called.
This happens only when my application is resumed by Android OS, otherwise OnAppearing at every page calls fine.
Is it OK? Can anyone explain this?
I believe this was fixed in 2.3.4-pre1.
*** This bug has been marked as a duplicate of bug 41322 ***
Notice (2018-05-21): bugzilla.xamarin.com will be
switching to read-only mode on Thursday, 2018-05-25 22:00 UTC.
Please join us on
Visual Studio Developer Community and
GitHub to continue tracking
issues. Bugzilla will remain available for reference in read-only mode.
We will continue to work on open Bugzilla bugs and copy them to the new
locations as needed for follow-up. The See Also field
on each Bugzilla bug will be updated with a link to its new location
After Bugzilla is read-only, if you have new information to add for a
bug that does not yet have a matching issue on Developer Community or
GitHub, you can create a follow-up issue in the new location. Copy and
paste the title and description from this bug, and then add your new
details. You can get a pre-formatted version of the title and
In special cases you might also want the comments:
Our sincere thanks to everyone who has contributed on this bug tracker
over the years. Thanks also for your understanding as we make these
adjustments and improvements for the future.