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

Improve Android CollectionView Scrolling #143

Merged
merged 1 commit into from Jul 12, 2020

Conversation

brminnick
Copy link
Owner

@brminnick brminnick commented Jul 12, 2020

I found that two things were causing the UI to jitter when the user scrolls a CollectionView:

  • Bindings
  • Garbage Collection

I was able to remove the jitter by removing bindings from my DataTemplate and increasing the size of the Android Nursery to decrease the number of garbage collections.

Before (Substantial Scrolling Jitter) After (No Scrolling Jitter)
BeforeFix AfterFix

@brminnick brminnick merged commit 25d58bd into master Jul 12, 2020
3 checks passed
@brminnick brminnick deleted the Improve-Android-CollectionView-Scrolling branch Jul 12, 2020
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

Successfully merging this pull request may close these issues.

None yet

1 participant