Sep 12, 2024
In this episode Chet, Romain and Tor chat with Doris Liu from the Compose team about animations in Compose -- covering everything from the basic primitives up to the recently added Shared Element Transitions.
Chapters:
Intro (00:00)
Animation capabilities of Compose (1:06)
Different types of animation specs (3:43)
Layers of functionality, transitions (7:49)
TargetBasedAnimation (9:48)
Vectors & velocity of color change (12:43)
Second layer parallel to animation spec (16:39)
Animation interruptions (18:48)
Motion layout problem-solving (20:19)
Both scale and move in question (25:45)
Different mental models for layout animation in Compose vs. View
(26:20)
Shared element (31:05)
Are there things you wish more people were aware of? (34:19)
What's the tooling story for this? (41:57)
What is Look Ahead? (43:16)
All software is regret (48:49)
New API: Modifier.animateBounds (51:52)
How to reach Doris – leave a comment (55:57)
Motion Frame of Reference Placement (57:29)
Wrap up (59:10)
Links:
Shared element tutorial → https://goo.gle/3XrGYp5
Shared element talk → https://goo.gle/47tm3qm
A quick guide to compose animations →
https://goo.gle/3Tm853p
The API layers except the highest level APIs we chatted about in
the podcast → https://goo.gle/3MGsiNE
Doris: @doris4lt
Romain: @romainguy, threads.net/@romainguy, romainguy@androiddev.social
Tor: threads.net/@tor.norbye and tornorbye@androiddev.social
Chet: @chethaase, threads.net/@chet.haase, and chethaase@androiddev.social
Catch more Android Developers Backstage on YouTube →
https://goo.gle/adb-podcast
Subscribe to Android Developers YouTube →
https://goo.gle/AndroidDevs