[iOs] Async update of ListView with ObservableCollection not working #2146
Labels
kind/bug
Something isn't working
platform/ios 🍎
Categorizes an issue or PR as relevant to the iOS platform
Current behavior
A ObservableCollection gets updated from an async function, but the changes are not populated to the Listview it is Bound to. This works on UWP, Droid and WASM.
Expected behavior
The items are populated once they are Added to the ObservableCollection.
How to reproduce it (as minimally and precisely as possible)
See this GitHub-Repo: https://github.com/TopperDEL/UnoTest01
The update happens in OnNavigatedTo from the MainPage. Remove the async Task.Delay to see it update correctly.
My assumption is that ObservableCollection does not raise ItemAdded/Changed-Events on iOs.
Environment
Nuget Package: v2.0.5
Package Version(s):
Affected platform(s):
Visual Studio:
Relevant plugins:
Anything else we need to know?
The text was updated successfully, but these errors were encountered: