I am trying to display a list of students in listview. I have used ObservableCollection as ItemSource for my listview and when I try to add to the Collection it displayes in UI successfully. Problem arises when I try to remove item from collection I have attached images below. collection length decreses by 1 which is correct but that element is not displayed at all. (if I have
n elements in my collection before deleting then also same behaviour is found in that only last element is not displayed properly and all first
n-1 elements are displayed as expected)
I am trying to remove element from collection from my view page only.(calling method of viewmodel to make changes in my collection).