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
Labels
android bug Something isn't working

Comments

@gogolon
Copy link

gogolon 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.

@roubachof roubachof added android bug Something isn't working labels Aug 27, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
android bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants