2

Does anyone know of a way to remove entries from Picasso default Cache / invalidate?

I went over their api (Also Picasso Cache class ) and couldn't find any way of doing it. I'm not interested in skipMemoryCache because most of the time the image Should be loaded from the cache.

Thanks!

Roy

4

1 回答 1

2

现在可以使用Picasso.invalidate().

使用示例:

Picasso.with(context).invalidate(uri);
Picasso.with(context).invalidate(pathString);
Picasso.with(context).invalidate(file);
于 2015-07-27T09:11:46.857 回答