I have an ObservableCollection assigned to People and have a PersonViewModel and a PeopleViewModel
_people= GetAll().ToList();
List<Person> allPeople = (from person in _people
select new PersonViewModel(person)).ToList();
AllPeople = new ObservableCollection<WorkOrderListItemViewModel>(allOrders);
AllPeopleCollection.Source = AllPeople;
where AllPeopleCollection
is a Public Property of type CollectionViewSource and AllPeople
is a Public Property of type ObservableCollection
i need to change the icon i use for a row in a listview on click of that item. But to Update the View, I need to read the whole List again. As my List Has 100+ records, it's taking a long time to refresh the list.
Is there a way I can only Refresh a Particular Item in the List and Refresh it on the UI.