Bug 37008 - [WinPhone] TabbedPage OnAppearing not called when CurrentPageChanged happens
Summary: [WinPhone] TabbedPage OnAppearing not called when CurrentPageChanged happens
Alias: None
Product: Forms
Classification: Xamarin
Component: Forms ()
Version: 2.0.0
Hardware: PC Windows
: --- normal
Target Milestone: ---
Assignee: Bugzilla
Depends on:
Reported: 2015-12-15 05:26 UTC by Adam
Modified: 2016-01-26 19:00 UTC (History)
5 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 Adam 2015-12-15 05:26:36 UTC
OnAppearing() is not called on the Child tab page in a TabbedPage in Windows Phone when the current page is changed.

Or put another way when the current tab is brought into view. However on Android it is. Every tab change leads to an OnAppearing() event raised for the ContentPage (Tab) that came into view on Android but not on Windows Phone. (WP8)

At the moment I just work around by raising it myself as I am currently just relaying the events to the ViewModel anway, hence I just do this

        protected override void OnCurrentPageChanged()
            if (Device.OS == TargetPlatform.WinPhone)
                if (this.CurrentPage?.BindingContext != null)


This is just to gain some consistency between platforms.
Comment 1 Rui Marinho 2016-01-26 19:00:05 UTC
This should be fixed in 2.1.0-pre1 on WindowsPhone 8.1 or UWP