Maarten Maarten - 3 months ago 44
Android Question

Invalidate cache in Picasso

I load an image from disk using Picasso, e.g.,

Picasso.with(ctx).load(new File("/path/to/image")).into(imageView)
, but whenever I save a new image in that file, and refresh my
, Picasso still has the bitmap cached.

Is it possible to invalidate the cache in Picasso?

mes mes

In the recent versions of Picasso, there is a new method for invalidate, without any workarounds, so I think that custom PicassoTools class mentioned earlier, is now obsolete in this case