https://kotlinlang.org logo
Title
d

Dima Avdeev

12/21/2021, 8:27 PM
Also i recorded small video about:

https://www.youtube.com/watch?v=FXYaigfuk38

(Sorry for bad English)
s

spierce7

12/22/2021, 3:17 PM
Hey! Really cool animation. Watching your video, one thing stuck out to me: I see that you are putting your list of points inside the
fun Cat()
, which means they are recreated every time the function runs. It’d be better to move those outside of the function so they are only created once.
d

Dima Avdeev

12/23/2021, 11:54 AM
Yeah, thanks! You are right. I am not focused on performance. Just demo to investigate capabilities of Compose.
👍 1