~/talk

Animations with Compose: Make Your Apps Shimmering

TalkinFrenchat Android Makers by droidcon 2023 · 2023-04-27..04-28· [web-animation]
slides:none on file

A live-coding session demonstrates using Jetpack Compose animation APIs in a small chat app: AnimatedVisibility and animateFloatAsState for toggling FAB text and rotating icons, rememberAnimatedVectorPainter to run animated vector assets, and animateItemPlacement for smooth lazy-list reordering. Navigation transitions are implemented with AnimatedNavHost plus accompanist for slide animations, while keyframes, springs, repeats and LaunchedEffect drive splash, progress-bar and looping motions; most features work out of the box though issues like scroll jump and no shared-element support remain.

AI-written summary · about

  1. 0:00Introduction
  2. 1:09Why animations matter
  3. 2:12Jetpack Compose overview
  4. 4:41Chat app demo
  5. 6:31AnimatedVisibility
  6. 8:37Rotation with animateFloatAsState
  7. 10:25Text slide-in/out
  8. 12:53Custom enter/exit
  9. 14:39Color animations with animateColorAsState
  10. 17:10Interpolators
  11. 19:57AnimatedVectorDrawables
  12. 21:22List item animations
  13. 24:14List scroll animations
  14. 27:25Screen transitions with AnimatedNavHost
  15. 30:18Screen transition setup
  16. 33:11Loading screen
  17. 36:24Preview in Studio
  18. 37:49Tween spring keyframes
  19. 39:13Progress bar with LaunchedEffect
  20. 41:31Best practices & conclusion
  21. 44:17Encourage animations
~/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.