daimajia / AndroidImageSlider

An amazing and convenient Android image slider.
MIT License
5.63k stars 1.66k forks source link

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

Open DIYMicha opened 4 years ago

DIYMicha commented 4 years ago

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?