~/talk

RecyclerView Animations and Behind the Scenes

Talkat Android Dev Summit 2015 · on Monday, 2015-11-23· [android, web-animation]
slides:none on file

Explains RecyclerView internals and practical rules: components are adapter, layout manager, item animator and pool and layout manager can run predictive animations by doing a prelayout then a regular layout so items animate from offscreen rather than crossfading oddly. Default ItemAnimator does fade, translate and crossfade but custom ItemAnimator can reuse view holders (new 23.1 API) to animate background color and rotate text as shown in the demo. Key gotchas: call notifyItemInserted/Removed precisely, use holder.getAdapterPosition not a final bound position, update adapter on the main thread and keep view pools per context.

AI-written summary · about

  1. 0:00Introduction
  2. 1:31Components
  3. 3:34View Holder
  4. 8:46Item Locations
  5. 10:36RecyclerView Animations
  6. 14:43Persistence and Appearance
  7. 15:38Layout Manager
  8. 20:06Item Animator
  9. 24:37Demo
  10. 26:04Delete Animations
  11. 27:56Predictive Animations
  12. 28:19Linear Layout Manager
  13. 32:15Animation Transition
  14. 33:52RecyclerView Mistakes
  15. 41:16RecyclerView vs ListView
  16. 42:14RecyclerView Multitouch
  17. 43:10RecyclerView Click Events
  18. 43:44RecyclerView Feedback
  19. 44:35Building RecyclerView Better
  20. 45:16Conclusion
~/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.