Hello again. I am making my first attempts at anim...
# compose
s
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
I think it would be easier if I could get widget by a reference(or id) and pluck out the bounds during the click. Then there would be no need to write boundaries to the state. 🤔