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
java.lang.RuntimeException: Canvas: trying to use a recycled bitmap android.graphics.Bitmap@206917cb
The text was updated successfully, but these errors were encountered:
Fresco 建议还是使用DraweeView而不是imageview,源码中DraweeView会管理bitmap的生命周期还有其他一些缓存策略。 如果坚持要用fresco,比较好的处理方法是依赖boxing库而不是boxing-impl库,自己实现一套界面。 或者用glide,picasso
demo里的loader虽然能加载,但是速度比较慢,也跟没有使用DraweeView有关。
具体可以参考这两个issue facebook/fresco#1550 facebook/fresco#1532
Sorry, something went wrong.
可以参考如下做法: https://blog.zongheng.pro/2019/07/11/%e9%80%9a%e8%bf%87fresco%e6%b8%b2%e6%9f%93%e5%9b%be%e7%89%87%e5%88%b0recyclerview%e4%b8%ad%e7%9a%84imageview%e4%b8%ad/
No branches or pull requests
java.lang.RuntimeException: Canvas: trying to use a recycled bitmap android.graphics.Bitmap@206917cb
The text was updated successfully, but these errors were encountered: