相关疑难解决方法(0)

Picasso中的缓存无效

我使用Picasso从磁盘加载图像,例如,Picasso.with(ctx).load(new File("/path/to/image")).into(imageView)但每当我在该文件中保存新图像并刷新我的时候ImageView,Picasso仍然会缓存位图.

是否有可能使Picasso中的缓存无效?

android caching image-loading picasso

74
推荐指数
9
解决办法
6万
查看次数

Android Picasso图像库的清除磁盘/ SD卡缓存

我正在使用Picasso从我的服务器加载图像.它工作正常,但我正在加载图像,并在以后更改它.但是Picasso将图像缓存在磁盘中的某个位置(我检查了SD卡,找不到Picasso存储的任何目录).

我尝试按照此问题的接受答案的建议删除缓存:在Picasso中使缓存无效

我还尝试使用以下命令跳过缓存:Picasso.with(ctx).load(新文件("/ path/to/image")).skipMemoryCache().into(imageView)

但这些方法都没有奏效.

感谢任何可以帮助我解决此问题的建议或提示.

android caching image picasso

9
推荐指数
2
解决办法
3085
查看次数

标签 统计

android ×2

caching ×2

picasso ×2

image ×1

image-loading ×1