XAML Visual Tree does not represent the underlaying data #10240
Labels
area-Lists
ListView, GridView, ListBox, etc
bug
Something isn't working
needs-author-feedback
Asked author to supply more information.
needs-repro
Describe the bug
Working with Listview and ListView.ItemTemplate I noticed a strange behaviour.
I debugged it with the Visual Tree Viewer and noticed, that after removing items from the Listview, some items are reappearing in the XAML Visual Tree.
Further interactions with the ListView leads to wrong beahviour, like Loaded-Events are not triggered, because the Item already exists.
Steps to reproduce the bug
MainPage.xaml
MainModel.cs
Expected behavior
The Visual Tree should represent the underlaying data.
Screenshots
NuGet package version
None
Windows version
No response
Additional context
Comes from here: unoplatform/uno#19068
It's not an Uno-Platform-Problem.
The text was updated successfully, but these errors were encountered: