Connect with us

Articles

Chaining Animations With Jetpack Compose

Discover how to run sequential and parallel animations.

When it comes to running animations individually, Google provides thorough documentation. When it comes to chaining several animations — whether they are sequential or parallel — I’ve struggled to find the right resource.

Until I bumped into this video that summarizes exactly what I was looking for:

This video explains how to leverage coroutines to chain your animations. That was my missing piece to accomplish a shuffle animation. I would animate two cards that would translate back and forth while they would scale down until they both reach a middle point.

Full Article: Stephen Vinouze @ Better Programming

Advertisement

Trending