Bug 32292 - ItemTapped event of ListView getting fired while tapping any control on ListView in WinRT
Summary: ItemTapped event of ListView getting fired while tapping any control on ListV...
Alias: None
Product: Forms
Classification: Xamarin
Component: Windows ()
Version: 1.4.3
Hardware: PC Windows
: --- normal
Target Milestone: ---
Assignee: Bugzilla
Depends on:
Reported: 2015-07-22 07:10 UTC by Subha
Modified: 2016-04-11 09:17 UTC (History)
2 users (show)

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

Shows Forms ListView's ItemTapped event fire, while tapping controls on ListView Item (6.45 MB, application/zip)
2015-07-23 02:52 UTC, Subha

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 Subha 2015-07-22 07:10:01 UTC
In WinRT (Windows) platform, tapping any control on ListView, firing ItemTapped event of ListView. For example I have image control on ListView. On tap of image, I am changing its state as below.

    Image checkUncheck = new Image();
    checkUncheck.SetBinding(Image.ClassIdProperty, "ContactIdString");

    var checkUncheckTapRecognizer = new TapGestureRecognizer();
    checkUncheckTapRecognizer .Tapped +=(object sender, EventArgs e) => {
        if(Convert.ToBoolean(checkUncheck .StyleId))
            checkUncheck .Source = _uncheckedImage;
            checkUncheck .StyleId = "False";
            checkUncheck .Source = _checkedImage;
            checkUncheck .StyleId = "True";

    checkUncheck.GestureRecognizers.Add(checkUncheckTapRecognizer );

I am adding this control to ListView. On ListView item tap, I am loading another page. Now on tap of image control on ListView its changing the state, but going to another page immediately.
Comment 1 Chris King 2015-07-22 10:07:39 UTC
Thanks for taking the time to submit this bug. Could you please attach the reproduction case you describe? Given our volume of issues it's very helpful to be able to download working solutions when available. 

Warm regards,
Comment 2 Subha 2015-07-23 02:52:42 UTC
Created attachment 12178 [details]
Shows Forms ListView's ItemTapped event fire, while tapping controls on ListView Item
Comment 3 Jason Smith [MSFT] 2016-04-11 09:17:14 UTC
Thank you for taking the time to submit this report. After reviewing the description of this bug, we believe it no longer affects the current version of Xamarin.Forms. If you are still experiencing the issue after updating your packages, please reopen this report with an attached reproduction.
For your convenience, we have created some reproduction best practices viewable here: https://gist.github.com/jassmith/92405c300e54a01dcc6d

Warm regards,
Xamarin Forms Team