Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to prevent a ListView from scrolling to the beginning at the ItemsSource update? #77

Closed
gogolon opened this issue Aug 3, 2019 · 0 comments

Comments

@gogolon
Copy link

commented Aug 3, 2019

Hello,
My ItemsSource is a list containing always the same objects, but I sometimes change their order and set the ItemSource again (to refresh the listview). After doing so, the listview scrolls to the first item. I tried setting the CurrentIndex property to the index before update, but it doesn't work. How to keep the same CurrentIndex regardless of refreshments?
[EDIT]: This only happens on Android, so I think this might be a bug.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
2 participants
You can’t perform that action at this time.