Bug 51574 - OnAppearing of Tabbed Pages is called twice on Android
Summary: OnAppearing of Tabbed Pages is called twice on Android
Status: RESOLVED DUPLICATE of bug 44211
Alias: None
Product: Forms
Classification: Xamarin
Component: Android ()
Version: 2.3.4
Hardware: PC Windows
: --- normal
Target Milestone: ---
Assignee: Bugzilla
Depends on:
Reported: 2017-01-17 15:12 UTC by thomas
Modified: 2018-02-01 21:12 UTC (History)
8 users (show)

Is this bug a regression?: ---
Last known good build:

Notice (2018-05-24): bugzilla.xamarin.com is now in read-only mode.

Please join us on Visual Studio Developer Community and in the Xamarin and Mono organizations on GitHub to continue tracking issues. Bugzilla will remain available for reference in read-only mode. We will continue to work on open Bugzilla bugs, copy them to the new locations as needed for follow-up, and add the new items under Related Links.

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.

Please create a new report on Developer Community or GitHub with your current version information, steps to reproduce, and relevant error messages or log files if you are hitting an issue that looks similar to this resolved bug and you do not yet see a matching new report.

Related Links:

Description thomas 2017-01-17 15:12:51 UTC

just observed today that OnAppearing of ChildPages of a TabbedPage is called twice when the Page is displayed.

In my App it does it on every Page, on the linked ReproProject only on the first Page I cannot tell why. Maybe because I use a custom Renderer for the TabbedPage (BottomNavigationBar)

But even the standard TabbedPage shows this on the front Page


Here it's stated that it seems to have something to do with FormsAppCompatActivity
Comment 1 Andrew 2017-01-27 14:24:43 UTC
same here
Comment 2 milen 2017-02-09 07:12:45 UTC
Happens to me too using Xamarin and Xamarin Android Xamarin Forms
Comment 3 Paul DiPietro [MSFT] 2017-02-14 19:43:53 UTC

*** This bug has been marked as a duplicate of bug 44211 ***
Comment 4 Karl Shifflett 2017-02-20 01:09:40 UTC
Same thing here.
Comment 5 Stanley Broo 2017-06-10 17:45:03 UTC
Same here! Tabbed Page OnAppearing hit twice. Have to work around it with so hack local variable(loaded) ..otherwise there will be a double fetch to the Mobile App Svc...extra traffic in the cloud? ;-) 

Xamarin Forms
Comment 6 till 2018-02-01 21:12:31 UTC
y, came across the same error. Any good workarounds?