~/talk

Motional Intelligence: Build smarter animations

Talkat Android Makers 2019 · on Tuesday, 2019-04-23· [android]
slides:none on file

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

  1. 0:00Start
  2. 5:38create an animated visibility change
  3. 9:53write this kind of assumption into your code
  4. 12:05the spring animation library
  5. 12:33control the bounciness with a damping ratio
  6. 13:26create a spring animation
  7. 14:59retrieve an already running animation
  8. 16:32fading the alpha of a view from 1 to 0
  9. 17:38set the duration or the easing curve using an interpolator
  10. 17:50customizing the spring force
  11. 20:40animate drawables in this kind of stateful way
  12. 21:18provide a drawable
  13. 27:40taking a quick look at animate stateless drawable
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.