daimajia / daimajia/AndroidImageSlider

Need a way to prevent image slider loading images from cache

Open
#426 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
5.6k
Forks
1.6k
PR merge metrics
No merged PRs in 30d

Description

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?

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.