~/talk

Practical Magic with Animations in Compose

Talkat Droidcon London 2023 · 2023-10-26..10-27· [android, web-animation]
slides:none on file

Implements a gesture-driven navigation drawer in Jetpack Compose that translates X, scales content to 0.8, and rounds corners using Modifier.graphicsLayer, first with manual animatable + draggable + spline-based decay (snapping, velocity-based fling, midpoint threshold) and then simplified to anchorDraggable with anchors at 0 and drawer width (Compose 1.6.0 alpha3). Compares spring animation vs tween easing, shows using rememberInfiniteTransition and two Animatable objects to build a blinking, pulsing SVG jellyfish rendered with rememberVectorPainter; everything animates and snaps as intended.

AI-written summary · about

  1. 0:00Introduction to animations
  2. 1:29Breaking down animations
  3. 3:56Using graphics layer
  4. 5:00Triggering animations
  5. 8:21Gesture-driven animations
  6. 17:10Customizing animation specs
  7. 23:49Built-in animation composables
  8. 25:33Choosing the right API
  9. 28:05Summary and Q&A
  10. 28:26Bonus: Animated vector graphics
~/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.