Android Developers Backstage cover image

Android Developers Backstage

Episode 209: Compose animations

Sep 12, 2024
Doris Liu, a software engineer on the Compose UI team at Google, dives into the dynamic world of animations in Compose. She discusses the evolution of animation specifications, addressing challenges like real-time tracking and handling interruptions. Doris elaborates on shared element transitions and the significance of targeting animations for better user experience. With a focus on new APIs and enhancing performance, she also reflects on the impact of Kotlin's design choices. Tune in for insights that make animating in Compose both exciting and efficient!
59:36

Episode guests

Podcast summary created with Snipd AI

Quick takeaways

  • Compose's animation APIs provide a unified approach to implement common animations like fading or sliding with high-level user-friendly options.
  • The animation specification in Compose abstracts behavior description, allowing seamless transitions between different animation types without API complexities.

Deep dives

Unified Animation APIs in Compose

Compose animation APIs are designed to be more unified compared to previous frameworks. High-level APIs like animated content and animated visibility allow easy implementation of common use cases, such as fading or sliding elements in and out. However, while these APIs are user-friendly, they contain built-in assumptions that may not cater to more specific customization needs. For those advanced scenarios, developers are encouraged to utilize lower-level APIs for greater flexibility, despite their more complex setup requirements.

Get the Snipd
podcast app

Unlock the knowledge in podcasts with the podcast player of the future.
App store bannerPlay store banner

AI-powered
podcast player

Listen to all your favourite podcasts with AI-powered features

Discover
highlights

Listen to the best highlights from the podcasts you love and dive into the full episode

Save any
moment

Hear something you like? Tap your headphones to save it with AI-generated key takeaways

Share
& Export

Send highlights to Twitter, WhatsApp or export them to Notion, Readwise & more

AI-powered
podcast player

Listen to all your favourite podcasts with AI-powered features

Discover
highlights

Listen to the best highlights from the podcasts you love and dive into the full episode