Totally amazed by the power of Canvas in Jetpack Compose
- Nikolay Miroshnychenko
- Aug 6, 2023
- 1 min read
A couple of weeks ago I was stunned when I saw this animation on Dribble. I was really struck by how cool the list looks during a scroll. At that moment I knew I had to try it out with Jetpack Compose.
Unfortunately, there was no "out of the box" solution that I could apply in Compose to implement it, so I had to dig into Canvas and Bitmap creation in order to achieve this. It was a fun and complex task at the same time. I was amazed by how powerful and efficient Compose is at drawing Bitmaps. I think my implementation is far from perfect, but, nevertheless, the framework was powerful enough to forgive my mistakes.
Now I'm thinking about whether to make this list a library. What do you guys think? I would love to hear your feedback on this :)
Comments