Skip to content
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

java.lang.RuntimeException: Canvas: trying to use a recycled bitmap android.graphics.Bitmap@e5f2cdd #72

Open
MyWdq opened this issue Nov 7, 2022 · 1 comment

Comments

@MyWdq
Copy link

MyWdq commented Nov 7, 2022

java.lang.RuntimeException: Canvas: trying to use a recycled bitmap android.graphics.Bitmap@e5f2cdd
at android.graphics.BaseCanvas.throwIfCannotDraw(BaseCanvas.java:55)
at android.view.DisplayListCanvas.throwIfCannotDraw(DisplayListCanvas.java:226)
at android.view.RecordingCanvas.drawBitmap(RecordingCanvas.java:78)
at cn.hzw.doodle.DoodleView$b.a(DoodleView.java:9)
at cn.hzw.doodle.DoodleView$b.onDraw(DoodleView.java:5)
at android.view.View.draw(View.java:19384)
at android.view.View.updateDisplayListIfDirty(View.java:18320)

@anjiemo
Copy link

anjiemo commented Aug 2, 2023

可以检查一下是否有在 onSaved 回调里调用 callback.run() 回调

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants