Reputation: 2464
I have a simple LongListSelector displaying some data. When I modify a record, the LongListSelector does not display the changes. I want that, when a record changes, the LongListSelector automatically displays the changes. How can I do that? Is there a way to force my LongListSelector to display updated data?
EDIT:
Data are stored in an ObservableCollection and added to the LongListSelector using DataContext.
Upvotes: 0
Views: 846
Reputation: 2464
Following this guide, I understand MVVM Pattern and solve my problem. In my case, my Model did not implement INotifyPropertyChanged, so the Model did not notify the View about changes. In order to sync View and Model:
Upvotes: 1