Piasy / BigImageViewer

Big image viewer supporting pan and zoom, with very little memory usage and full featured image loading choices. Powered by Subsampling Scale Image View, Fresco, Glide, and Picasso. Even with gif and webp support! 🍻
MIT License
3.98k stars 400 forks source link

关于加载加密的url #203

Open KotlinLan opened 4 years ago

KotlinLan commented 4 years ago

你好,现在有一个图片的url,这个url里面的图片是加密的,直接访问图片是会加载失败的,而且本地sd卡只能保存加密前的文件,解密后的文件不能保存在内存卡中,但是看了一下,该库只能接收URI的方式来请求图片,请问这种需求怎么来自定义加载器,

Piasy commented 4 years ago

实现 ImageLoader 子类,下载解密后,把解密的文件回调出去。

KotlinLan commented 4 years ago

@Piasy 你好,图片什么情况会出现无法双击放大的问题呢, 测试使用FrescoLoaderActivity 加载 http://pic.netbian.com/uploads/allimg/200817/214244-1597671764874d.jpg 的图片,双击无法放大。 image