Bug 30324 - Detail view of MasterDetailPage does not get appearance events on Android when whole MasterDetailPage disappears/reappears
Summary: Detail view of MasterDetailPage does not get appearance events on Android whe...
Alias: None
Product: Forms
Classification: Xamarin
Component: Android ()
Version: 1.4.2
Hardware: PC Mac OS
: Normal normal
Target Milestone: ---
Assignee: Rui Marinho
: 24631 ()
Depends on:
Reported: 2015-05-21 17:14 UTC by Adam Kemp
Modified: 2015-08-07 06:54 UTC (History)
6 users (show)

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

Test case (178.51 KB, application/zip)
2015-05-21 17:14 UTC, Adam Kemp

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 Kemp 2015-05-21 17:14:12 UTC
Created attachment 11291 [details]
Test case

On Android the OnAppearing/OnDisappearing overrides and the Appearing/Disappearing events are not invoked for a detail page when the entire MasterDetailPage disappears or reappears due to a navigation event. The MasterDetailPage itself does receive the appearance events, but the detail page, even if it is shown or hidden, does not receive the events.

This behavior differs from iOS, where those methods are always called.

To reproduce run the attached project on Android, press the button, and then go back. The page should turn green when you go back, but instead nothing changes.
Comment 1 Rui Marinho 2015-05-21 21:01:05 UTC
*** Bug 24631 has been marked as a duplicate of this bug. ***
Comment 2 Chris King 2015-05-26 17:25:43 UTC
Indeed. Detail page disappearing is not called after navigation.
Comment 3 Jason Smith [MSFT] 2015-08-05 15:00:47 UTC
Should be fixed in 1.5.0-pre1
Comment 4 Parmendra Kumar 2015-08-07 06:54:45 UTC
I have checked this issue with Xamarin.Forms 1.5.0-pre1 and its working fine at my end.  I am getting same behavior on Android and iOS.

Hence closing this issue.