Motional Intelligence: Build smarter animations
summary
Argues that animations must be reentrant, continuous and smooth and shows concrete fixes not platitudes, using Android Data Binding plus the spring animation library and an extension that stores a spring on the view tag and calls animateToFinalPosition so retargeting preserves velocity. Replaces RecyclerView default item animator with a spring‑based move animator and gets noticeably smoother motion. Also uses AnimatedStateListDrawable and a stateless animator pattern for declarative state transitions. The three concrete tenants guide which animations survive modern architectures.
AI-written summary · about
chapters (13)
- 0:00Start
- 5:38create an animated visibility change
- 9:53write this kind of assumption into your code
- 12:05the spring animation library
- 12:33control the bounciness with a damping ratio
- 13:26create a spring animation
- 14:59retrieve an already running animation
- 16:32fading the alpha of a view from 1 to 0
- 17:38set the duration or the easing curve using an interpolator
- 17:50customizing the spring force
- 20:40animate drawables in this kind of stateful way
- 21:18provide a drawable
- 27:40taking a quick look at animate stateless drawable
related talks
32mMotional intelligence: Build smarter animations
25mGet It Running
40mGet animated
41mA Moving Experience
53mBuilding smarter animations with Kotlin Delegates and Dynamic animations
47mLearn Some New Moves: Advanced Android Animation
37mThree Approaches to Animations on Android
46mRecyclerView Animations and Behind the Scenes
