We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
1.WeakHashMap的key被回收了,需要下一次操作Map才会移除value,导致内存泄漏; 2.demo中Glide加载图片,使用了同一对象的url,Glide会引用url生成key,存在内存缓存里,url不能被回收导致内存泄漏; 个人觉得还是需要添加移除listener的接口,或者listener作为弱引用保存比较好
The text was updated successfully, but these errors were encountered:
No branches or pull requests
1.WeakHashMap的key被回收了,需要下一次操作Map才会移除value,导致内存泄漏;
2.demo中Glide加载图片,使用了同一对象的url,Glide会引用url生成key,存在内存缓存里,url不能被回收导致内存泄漏;
个人觉得还是需要添加移除listener的接口,或者listener作为弱引用保存比较好
The text was updated successfully, but these errors were encountered: