~/talk

MotionLayout & RecyclerView

Talkat droidcon Americas 2020 · 2020-11-16..11-17· [android, web-animation]
links:none on file
slides:none on file

Uses MotionLayout to animate RecyclerView items as a replacement for shared element transitions, building a clickable overlay placeholder overlay that copies a clicked ViewHolder into a MotionScene and animates between list and detail constraint sets. Code uses Kotlin ViewBinding, channels and extension functions like apply binding to placeholder to handle offscreen or differently sized viewholders, avoids bitmaps by copying view attributes, uses setTransitionListener, ships to production with lower delay and better performance than shared element transitions.

AI-written summary · about

  1. 0:00Introduction to MotionLayout
  2. 1:16Past animation challenges
  3. 3:04Discovering MotionLayout
  4. 5:56Requirements for RecyclerView
  5. 7:19Initial placeholder approach
  6. 9:05Converting ConstraintLayout
  7. 11:58Detail view constraints
  8. 14:08Running the transition
  9. 15:14Kotlin setup and clicks
  10. 17:45Bitmap vs attribute copying
  11. 20:40Production rollout issues
  12. 21:01Alternative approaches
  13. 22:48MotionLayout internals idea
  14. 23:30Attribute copying demo
  15. 25:13Benefits of new approach
  16. 25:55MotionLayout power
  17. 27:17Q&A session begins
  18. 33:44Learning MotionLayout
  19. 34:27Keyframe animations
  20. 35:51Handling visible views
  21. 37:37Animation callbacks
  22. 39:24Performance comparison
  23. 40:10Designing slides
  24. 41:17Closing remarks
~/search
type to search 8,222 conferences, 162,397 speakers and 219,688 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
← →
on a talk: 5 seconds back / forward
0–9
on a talk: jump to 0%–90% of the recording
?
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.