Hello again. I am making my first attempts at animating in Compose.
I have achieved the desired result, but the implementation does not suit me. The code is cumbersome and a little confusing. Does not look declarative.
I believe there are better ways to achieve results with less effort, as you can see in the video. But I can't comprehend it.
I hope for your help.
Thank you in advance.
The code:
https://gist.github.com/sergeyfitis/c40e2b1a2b7c929da488f85e1d4c514f