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

The listview gets corrupted if there are scroll bars #2

Open
musictopia opened this issue Aug 29, 2017 · 2 comments
Open

The listview gets corrupted if there are scroll bars #2

musictopia opened this issue Aug 29, 2017 · 2 comments

Comments

@musictopia
Copy link

I tried using this on a project where there are scroll bars. In those cases, when scrolling, it shows more selected even though it should not have been.

@wislon
Copy link
Owner

wislon commented Aug 29, 2017

thanks @musictopia for the feedback. I wonder if it has something to do with the ListView.CachingStrategy, which directly impacts how the listview's cells are reused.

You could try using <ListView CachingStrategy="RecycleElement" > (I believe the default is .RetainElement). There's a bit more information about it here:

https://developer.xamarin.com/api/type/Xamarin.Forms.ListViewCachingStrategy/

Unfortunately I can't spin it up right now to check either way. If that works, would you mind submitting a PR?

Cheers ;)

@titoleru
Copy link

Great job @wislon, it is just a shame the new updates of Xamarin affected the implementations of this code.

Could you please find some time to fix the scrolling multi-selection bug in Android? I would be more than grateful

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants