I am using an ICollectionView to display a list of items within a ListView. I have come across an issue I do not seem to be able to find a solution for.
The selection works fine as long as one only uses the mouse. To always display the up to date information I use the ICollectionView.Refresh() method from time to time. However this results in an issue when using the keyboard arrows to navigate through the list of items.
No matter at which position the current SelectedIndex is at, as soon as I call Refresh() the next time one presses an arrow key the selected item is the item at position 0 of the ListView.
Has anyone come across this issue before and found a solution for this issue?