https://kotlinlang.org logo
Title
g

Gil Sinclair-Julio

07/16/2021, 3:55 PM
👋 we've noticed ripples drop a lot more frames than the classic android implementation. I presume it's because they're not drawn on the render thread? Are there any plans to improve this? It's a bit of a blocker for us to migrate to compose as it feels a lot less 'native'.
a

Andrey Kulikov

07/16/2021, 4:02 PM
Ripples are drawn on the render thread. it is using RippleDrawable under the hood
g

Gil Sinclair-Julio

07/16/2021, 4:04 PM
Ah I see 🤔 there is definitely an issue but it might be with our impl, I'll have a better look I'm not using the latest version of compose so it might be that too
Anyways thanks! I might message back if I find anything
a

Andrey Kulikov

07/16/2021, 4:08 PM
It was introduced in 1.0.0-beta06
g

Gil Sinclair-Julio

07/16/2021, 4:12 PM
Ah that makes sense, we are on 1.0.0-beta02
a

Andrey Kulikov

07/16/2021, 4:22 PM
yeah, in general it is recommended to update to the latest version before reporting any issues as we fixed really a lot of issues since beta02
👍 1