CollectionView item does not immediately reflect changes on screen.

I have an ObservableCollection of products in a CollectionView. When I click the like button, the like count is increased, but the change does not reflect on the screen immediately until I scroll the item off the screen and then back and it shows the increment. How do I make this increment reflect immediately without scrolling off the updated item. That is equivalent of NotifyItemChanged in Xamarin Android. Thank you.

Answers

  • ClintStLaurentClintStLaurent USUniversity ✭✭✭✭✭

    Sounds like the binding is wacked.
    You don't normally have to do anything to get an update.
    But its not INotifyItemChanged - Its INotifyCollectionUpdated since it was an item within that collection that changed.
    You can run through the 2018 or 2019 tutorial series here
    https://redpillxamarin.com/

Sign In or Register to comment.