Building smarter animations with Kotlin Delegates and Dynamic animations
summary
Claims that immutable, unidirectional UI state can drive smooth, interruptible animations by wiring Kotlin delegates into a single global UI driver that maps fragments and views to a shared controller, using Spring animations (Dynamic Animation Jetpack) for physics‑backed retargeting. Implementation details: set full‑control system UI flags, listen to onApplyWindowInsets and consume them, derive small state slices and only animate when distinct. Works back to API 21, ships in production, and reports no slowdowns.
AI-written summary · about
chapters (16)
- 0:00Intro
- 1:04Agenda
- 2:46Modern Architecture
- 6:47Systems Engineering Approach
- 10:23Spring Animations
- 12:35Properties
- 13:50Requirements
- 14:24Modeling
- 17:38Global UI
- 19:12Codependency Modeling
- 20:17UI Visibility
- 22:08GeneralDelegate
- 25:26ViewDelegate
- 33:53Demo
- 40:56Resources
- 41:33Questions
related talks
32mMotional intelligence: Build smarter animations
35mMotional Intelligence: Build smarter animations
49mBuilding an Android UI using declarative programming in Jetpack Compose
40mGet animated
32mAnimations Should Be Fun
47mAnimations with Compose: Make Your Apps Shimmering
21mAnimations with Jetpack Compose
35mDeclarative UI patterns
