Bug 60748 - ListView ItemSelected (UWP) called twice with arbitrary value the first time
Summary: ListView ItemSelected (UWP) called twice with arbitrary value the first time
Status: RESOLVED DUPLICATE of bug 60314
Alias: None
Product: Forms
Classification: Xamarin
Component: Forms ()
Version: 2.4.0
Hardware: PC Windows
: --- normal
Target Milestone: ---
Assignee: Bugzilla
URL:
Depends on:
Blocks:
 
Reported: 2017-11-18 11:45 UTC by nitemsg
Modified: 2017-11-20 07:41 UTC (History)
3 users (show)

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


Attachments
listview itemselected forms uwp demo (320.29 KB, application/zip)
2017-11-18 11:45 UTC, nitemsg
Details


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:
Status:
RESOLVED DUPLICATE of bug 60314

Description nitemsg 2017-11-18 11:45:43 UTC
Created attachment 25753 [details]
listview itemselected forms uwp demo

When a item in the listview (that is grouped) is selected, the ItemSelected event is triggered twice.
The first time it is triggered it has an arbitrary value in e.SelectedItem

Attached sample solution that shows the problem. DemoPage.cs in the shared project has the example.
Using Xamarin Forms 2.4.0.91020.
Comment 1 Paul DiPietro [MSFT] 2017-11-18 14:19:00 UTC

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