Bug 34269 - [Android] MasterDetail IsPresented is called more than once for Hamburger Menu on Tap
Summary: [Android] MasterDetail IsPresented is called more than once for Hamburger Men...
Status: RESOLVED DUPLICATE of bug 32230
Alias: None
Product: Forms
Classification: Xamarin
Component: Android ()
Version: 1.5.0
Hardware: Macintosh Mac OS
: Normal normal
Target Milestone: ---
Assignee: Bugzilla
Depends on:
Reported: 2015-09-25 03:18 UTC by Anubhav Ranjan
Modified: 2015-09-29 06:29 UTC (History)
3 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 Anubhav Ranjan 2015-09-25 03:18:24 UTC
When using HamburgerMenu, tapping on it calls the IsPresentedChanged more than once in Android. 
However, it works fine in iOS. Also, sliding the menu for both opening and closing doesn't exhibit this issue anywhere.
Tried with the earlier version of Forms as well but the issue exists.

#Sample Project:

#Steps to reproduce:

Build the Android project, open the left menu with a far left side drag or selecting the hamburger icon. You’ll see an alert fire 3 times.

Then build the iOS project and do the same thing. It fires once as it should.

#Version Information:
=== Xamarin Studio ===

Version 5.9.7 (build 9)

Installation UUID: e44ee3c3-97ed-466c-ba3f-45fea5b1be52


Mono 4.0.4 ((detached/cb6d6b2)

GTK+ 2.24.23 (Raleigh theme)

Package version: 400040002

=== Apple Developer Tools ===

Xcode 7.0 (8227)

Build 7A220

=== Xamarin.Android ===

Version: (Enterprise Edition)

Android SDK: /Users/rfreschi/Library/Developer/Xamarin/android-sdk-mac_x86

Supported Android versions:

2.3 (API level 10)

4.0.3 (API level 15)

4.1 (API level 16)

4.2 (API level 17)

4.3 (API level 18)

4.4 (API level 19)

4.4.87 (API level 20)

5.0 (API level 21)

5.1 (API level 22)

Java SDK: /usr

java version "1.8.0_25"

Java(TM) SE Runtime Environment (build 1.8.0_25-b17)

Java HotSpot(TM) 64-Bit Server VM (build 25.25-b02, mixed mode)

=== Xamarin Android Player ===

Version: Unknown version

Location: /Applications/Xamarin Android Player.app

=== Xamarin.iOS ===

Version: (Enterprise Edition)

Hash: d8e9592

Branch: master

Build date: 2015-09-18 23:22:05-0400

=== Xamarin.Mac ===

Not Installed

=== Build Information ===

Release ID: 509070009

Git revision: 31fa64709030b3edb971237780a452a4c69943c4

Build date: 2015-09-17 11:44:37-04

Xamarin addins: b105d33d8cd72911ff2cf3ee0b7715d37e5f19a6

=== Operating System ===

Mac OS X 10.10.5

Darwin HPSJ-iMac.local 14.5.0 Darwin Kernel Version 14.5.0

Wed Jul 29 02:26:53 PDT 2015

root:xnu-2782.40.9~1/RELEASE_X86_64 x86_64
Comment 1 Rui Marinho 2015-09-29 06:29:13 UTC

*** This bug has been marked as a duplicate of bug 32230 ***