Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

IRealmCollection does not update UWP ListView #1935

Closed
denizcan opened this issue Dec 21, 2019 · 2 comments
Closed

IRealmCollection does not update UWP ListView #1935

denizcan opened this issue Dec 21, 2019 · 2 comments

Comments

@denizcan
Copy link

denizcan commented Dec 21, 2019

This is the same as closed issue #1461. This time it is on 4.2.0 version of Realm..

When I assign a IRealmCollection to ListView.ItemsSource, ListView populates initial items, however further updates, additions/deletions are not reflected to the list.. I observed CollectionChanged event, it is called with correct arguments.. I suspect that ListView does not listen CollectionChanged event if the ItemsSource is IReadOnlyCollection.. When I place an ObservableCollection in the middle and add remove items in the callback, list is updated correctly..

@denizcan
Copy link
Author

denizcan commented Dec 21, 2019

Regarding to #1759 it looks like UWP apps cannot benefit from this.. It is weird though..

@nirinchev
Copy link
Member

Closing as a duplicate of #1759.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Mar 11, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants