~/talk

MotionLayout & RecyclerView

Talkat droidcon Italy 2020 · 2020-11-27..11-28· [android, web-animation]
links:none on file
slides:none on file

Shows a concrete implementation: convert ConstraintLayout to MotionLayout, define start=list and end=detail constraint sets, programmatically compute placeholder constraints and call setTransition then transitionToEnd so a tapped viewholder animates into a detail overlay. Handles heterogeneous viewholders, flings, and scroll offsets. Notes pitfalls like bitmap snapshots and visibility being overwritten so uses visibilityMode="ignore" and scaleX/scaleY = 0.9 and moves toward copy attributes from source view binding instead of detaching view holders.

AI-written summary · about

  1. 0:00Start
  2. 0:45Journey
  3. 4:21Ticked All the Boxes
  4. 6:22Evolving Approaches
  5. 16:58Assessment
  6. 17:40Next Idea...
  7. 18:18LayoutManager detaching views
  8. 23:08Questions?
~/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.