Closed kirikaTowa closed 4 months ago
at android.view.View.draw(View.java:15363) at android.widget.FrameLayout.draw(FrameLayout.java:647) at eightbitlab.com.blurview.BlockingBlurController.updateBlur(BlockingBlurController.java:122) at eightbitlab.com.blurview.BlockingBlurController.draw(BlockingBlurController.java:164)
rootView.draw(internalCanvas) Seems to be in an endless loop。In LG 5.0
Please fill in the required details properly
请正确填写所需的详细信息 I would like to ask, this method will cause an infinite loop under normal circumstances in BlockingBlurController, how do you deal with it?
The BlurView checks if the Canvas
used in draw
is internalCanvas
, so it draws itself only on system canvas and skips the recursive drawing on internalCanvas
Thank you.InternalCanvas will have a problem when performing animation on some 5.0 models, resulting in this type of error. The rootView can be solved by using the parent of the previous level.
Please include: 1) Library version 2) Device and OS version 3) Detailed steps to reproduce the issue 4) XML layout and code for BlurView setup 5) Stacktrace in case of a crash