This repository has been archived by the owner on May 1, 2024. It is now read-only.
[Bug] Android ListView SelectedItem highlighting #15647
Labels
a/listview
Problems with the ListView/TableView
p/Android
s/unverified
New report that has yet to be verified
t/bug 🐛
Description
Setting ListView.SelectedItem from within a cell highlights the cell below the selected one. This only occurs under Android and not UWP.
The correct Item gets set, and if a ViewModel binds on the SelectedItem, the correct Item gets set in the ViewModel. So, this seems to be a purely visual problem, and everything functions as it should in code.
Setting the SelectedItem form within the ViewModel also works without issues.
This first Xamarin.Forms Version with this bug is 5.0.0.2515. Older Versions work correctly.
Steps to Reproduce
Expected Behavior
The SelectedItem of the ListView should be highlighted
Actual Behavior
The entry below the SelctedItem gets highlighted.
Basic Information
• Version with issue: Xamarin.Forms Version: 5.0.0. 2515, 5.0.0.2545
• Last known good version: 5.0.0.2478
• Platform Target Frameworks:
Android: 13
Screenshots
Reproduction Link
ListViewBugDemo.zip
The text was updated successfully, but these errors were encountered: