Bug 57772 - Adding a Cell.ContextAction breaks listview ItemSelected in 2.3.5-pre5
Summary: Adding a Cell.ContextAction breaks listview ItemSelected in 2.3.5-pre5
Status: RESOLVED FIXED
Alias: None
Product: Forms
Classification: Xamarin
Component: Android ()
Version: 2.3.5
Hardware: PC Windows
: --- normal
Target Milestone: ---
Assignee: Jimmy [MSFT]
URL:
Depends on:
Blocks:
 
Reported: 2017-06-26 19:00 UTC by Pete Schmitz
Modified: 2017-06-26 23:42 UTC (History)
2 users (show)

Tags:
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:
Status:
RESOLVED FIXED

Description Pete Schmitz 2017-06-26 19:00:18 UTC
We updated our forms package from 2.3.5-pre3 to pre5 and we've noticed that ListViews which contain a ContextAction no longer retain ItemSelected functionality.

Correct functionality resumes when we remove the ContextAction from the ListView.

Reproduction:

- Forms application using FormsAppCompatActivity

- Add a page, listview with custom data/cell template, itemselected event

- For custom cell, add a ContextAction

- Attempt to select an item in the listview.
Comment 1 Jimmy [MSFT] 2017-06-26 23:02:52 UTC
Can you update to the new 2.3.5.255-pre5 release from today and do a clean and rebuild? The original -pre5 release was from the wrong branch so new issues may have appeared. Let me know if this is resolved with the new pre-release. Thanks!
Comment 2 Pete Schmitz 2017-06-26 23:42:55 UTC
Updating from 2.3.5.253-pre5 to 2.3.255-pre5 resolved this issue.