-
Notifications
You must be signed in to change notification settings - Fork 251
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
getGlideCacheFile的路径不完全正确 #122
Comments
我强行把AppGlideModule配置里的的默认缓存目录换成这个 这里建议还是不要写死,ImagePreviewAdapter的onLoadFailed里,saveDir可能是变的;getGlideCacheFile里判断是否有缓存读的是File(context.getCacheDir(), DiskCache.Factory.DEFAULT_DISK_CACHE_DIR),容易出现缓存判断不准确的问题。 另外: 这两个问题特别影响国际化的app,建议抽时间修复。 |
国际化已增加。 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
如果app配置了Glide的缓存路径,getGlideCacheFile取的文件目录就会有问题
图片加载的缓存目录
getGlideCacheFile取文件目录
这样就导致点了【查看原图】,且原图顺利下载到本地,退出页面在查看图片,还会显示【查看原图】的按钮。
此时点了【查看原图】,进度会卡在1%一直不动。
The text was updated successfully, but these errors were encountered: