-
-
Notifications
You must be signed in to change notification settings - Fork 436
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
[Optimize scrolling] Scrolling of grid shows black/empty items #127
Comments
Just to clarify - the issue occurs also when scrolling very slowly |
Not sure the optimization you are indicating, could you share some videos about it? |
Oh I see, that's the paging issue. |
If it does help, I'd happy to see you fix this. |
Following branch has the relevant changes, but issue is not solved:
I have replaced I'm still working on it, but please share your thoughts :-) |
|
I do found a new way to solve this, will file a PR soon. |
Problem description:
When scrolling the grid, it happens very often that all the grid items become black, and then they are repopulated. It's a very bad experience for the user. It happens even when using very low resolution for the grid items.
Optimization suggestion:
Consider replacing the
GridView.builder
withSliverGrid
withSliverChildBuilderDelegate
that hasfindChildIndexCallback
.It is most likely that it will improve performance of scrolling.
If that direction sounds ok to you, I will be happy to try it and submit a PR.
If you have other thought, please share.
Thanks,
Yaniv
The text was updated successfully, but these errors were encountered: