Open lr555 opened 1 year ago
你好,我在使用BigImageViewer加载图片的时候,有些图片需要通过代理下载。 原始图片链接类似https://xxx.png,通过代理加载图片的链接类似于https://img.proxy.com?url=https://xxx.png, 但是使用代理加载图片,进度条无法正常显示。看了一下,应该是GlideImageLoader的getRawKey,对于通过代理加载图片的链接,得到的key都是https://img.proxy.com,导致代码里以为图片缓存了,不显示进度条。 请问有什么方法可以直接解决这个问题吗?
https://xxx.png
https://img.proxy.com?url=https://xxx.png
getRawKey
https://img.proxy.com
既然你都查到问题了,应该也能想到解决方案了吧,欢迎提交 PR
你好,我在使用BigImageViewer加载图片的时候,有些图片需要通过代理下载。 原始图片链接类似
https://xxx.png
,通过代理加载图片的链接类似于https://img.proxy.com?url=https://xxx.png
, 但是使用代理加载图片,进度条无法正常显示。看了一下,应该是GlideImageLoader的getRawKey
,对于通过代理加载图片的链接,得到的key都是https://img.proxy.com
,导致代码里以为图片缓存了,不显示进度条。 请问有什么方法可以直接解决这个问题吗?