Skip to content

Caching not working on ListView.builder #640

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

Closed
alexrainman opened this issue Aug 12, 2021 · 4 comments
Closed

Caching not working on ListView.builder #640

alexrainman opened this issue Aug 12, 2021 · 4 comments

Comments

@alexrainman
Copy link

Scrolling up and down on the list causes the fade animation to play again. I thought once the image was cached, it will just load from cache without animation.

@stlr00
Copy link

stlr00 commented Aug 12, 2021

+1

1 similar comment
@virskor
Copy link

virskor commented Aug 27, 2021

+1

@renefloor
Copy link
Contributor

It should, the fade animation is because it was not in memory. This is probably because the images are really large. You might want to try loading smaller images or resizing them using memCacheHeight or maxHeightDiskCache.

If this doesn't solve your issue, please reopen this with a reproducible example.

@u-sour
Copy link

u-sour commented Dec 6, 2024

Anyone got this problem? After maxHeightDiskCache is specified, errorWidget will not be called.

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

5 participants