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

Need a way to prevent image slider loading images from cache #426

Open
DIYMicha opened this issue Sep 11, 2020 · 0 comments
Open

Need a way to prevent image slider loading images from cache #426

DIYMicha opened this issue Sep 11, 2020 · 0 comments

Comments

@DIYMicha
Copy link

DIYMicha commented Sep 11, 2020

Hey there, is there a switch or something to prevent the slider from loading images from cache?
I changed the images in devices storage (rotated them with picasso) but when I refresh the slider, it keeps showing the pics from cache instead the changed ones.
Only if I refreshed the slider with a load of other pics, it eventually shows the changed pictures from the first place.
In Picasso itself we got those methods:
.memoryPolicy(MemoryPolicy.NO_CACHE)
.networkPolicy(NetworkPolicy.NO_CACHE)
or maybe there's a way to clear picassos cache?

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

1 participant