Closed choristery closed 1 year ago
Hi 👋
On which API levels do you register freezing? There are two different shadow implementations for API levels before 28 and after 28.
Before API 28 there is no way do draw shadow with hardware acceleration. See: https://github.com/oleksandrbalan/pagecurl/blob/main/pagecurl/src/main/kotlin/eu/wewox/pagecurl/page/CurlDraw.kt#L216-L222
Thus it tries to draw a shadow to the image and then draw it on the canvas, which is far from being efficient 🙈
API levels is 33
Uff, weird 😬
Could you please try to disable shadows by setting either alpha or radius to 0, to check if it is due to shadow or something else?
Hi, when I use
pagecurl
, it seems that the animation freezes on some devices because of the complex content. Do you have any good suggestions for this?