我有一些图片,当应用程序启动时,我从不同的网站下载,通过这样做:
Picasso.with(context).load(image_url).fetch();
现在,假设用户关闭应用程序并脱机。当应用程序再次启动时,毕加索会以这种方式显示图像:
Picasso.with(ctx).load(image_url).placeholder(R.drawable.ph).into(imageView);
问题是一些图像是从磁盘缓存中加载的(调试模式下的黄色三角形),而对于其他图像,Picasso显示占位符。
为什么?我希望每个图像都是从磁盘缓存中加载的。
https://stackoverflow.com/questions/23391523
复制相似问题