Bug 32230 - isPresentedChanged raises multiple times
Summary: isPresentedChanged raises multiple times
Alias: None
Product: Forms
Classification: Xamarin
Component: Android ()
Version: 1.4.4
Hardware: PC Mac OS
: Normal normal
Target Milestone: ---
Assignee: Rui Marinho
: 34269 ()
Depends on:
Reported: 2015-07-21 13:40 UTC by Cody Beyer (MSFT)
Modified: 2015-10-09 11:31 UTC (History)
4 users (show)

Tags: ac
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 Cody Beyer (MSFT) 2015-07-21 13:40:57 UTC
### Description

The following sample app has a simple MasterDetail Page, where the isPresentedChanged event is raised multiple times when clicking on the Master menu

### Sample


### Steps to Reproduce

1. Download sample app
2. Deploy to Android emulator
3. Click the "Hamburger" menu

### Expected Results

App should print "Here we go" to the output window once (prints once when event is raised)

### Actual Results

"Here we go" is printed multiple times

### Version

=== Xamarin Studio ===

Version 5.9.5 (build 5)
Installation UUID: 14e9db9d-4a59-440f-8c5b-890f54ec8c58
	Mono 4.0.3 ((detached/429313d)
	GTK+ 2.24.23 (Raleigh theme)

	Package version: 400030013

=== Apple Developer Tools ===

Xcode 7.0 (8163.8)
Build 7A152u

=== Xamarin.iOS ===

Version: (Business Edition)
Hash: 8443c2c
Branch: master
Build date: 2015-06-28 23:54:48-0400

=== Xamarin.Android ===

Version: (Business Edition)
Android SDK: /Users/codybeyer/Library/Developer/Xamarin/android-sdk-macosx
	Supported Android versions:
		2.3   (API level 10)
		4.0.3 (API level 15)
		4.4   (API level 19)
		5.0   (API level 21)
Java SDK: /usr
java version "1.7.0_71"
Java(TM) SE Runtime Environment (build 1.7.0_71-b14)
Java HotSpot(TM) 64-Bit Server VM (build 24.71-b01, mixed mode)

=== Xamarin Android Player ===

Version: Unknown version
Location: /Applications/Xamarin Android Player.app

=== Xamarin.Mac ===

Version: (Business Edition)

=== Build Information ===

Release ID: 509050005
Git revision: 8d5aa047f336e5129fff1b174a972021b087bd76
Build date: 2015-07-14 16:37:43-04
Xamarin addins: 3bc005cd1e150ae5f206c1cf76164f47f2f2b62c

=== Operating System ===

Mac OS X 10.10.4
Darwin Codys-Macintosh.router 14.4.0 Darwin Kernel Version 14.4.0
    Thu May 28 11:35:04 PDT 2015
    root:xnu-2782.30.5~1/RELEASE_X86_64 x86_64
Comment 1 Rui Marinho 2015-08-16 16:02:53 UTC
Should be fixed in 1.5.0-pre2
Comment 2 Rui Marinho 2015-08-21 19:00:30 UTC
Correction pushed to 1.5.1-pre1.
Comment 3 Rui Marinho 2015-09-29 06:29:13 UTC
*** Bug 34269 has been marked as a duplicate of this bug. ***
Comment 4 Parmendra Kumar 2015-10-09 11:31:19 UTC
I have checked this issue with Xamarin.Forms 1.5.1-pre1 and its working fine.

Hence closing this issue.