Pro RecyclerView
summary
Explains RecyclerView internals: a layout manager, item animator and adapter coordinate to position and animate items; stable IDs plus SortedList and upcoming DiffUtil calculate precise moves so updates animate instead of jumping; ItemTouchHelper and SnapHelper sit outside RecyclerView and reuse public APIs; common pitfalls include requestLayout from ImageView/TextView causing full relayout, asynchronous binding (use executePendingBindings), image aspect-ratio sizing to avoid jumps, and always update adapter on the main thread to avoid crashes.
AI-written summary · about
chapters (16)
- 0:00Start
- 7:09Components
- 8:48estLayout
- 13:46ageView.java
- 14:27Good API
- 19:57Internals
- 22:33Callback
- 23:45ndViewHolder
- 24:54r Lifecycle
- 26:54Update Cycle
- 27:23scrollToPosition
- 32:02emViewType
- 32:19ateViewHolder
- 32:48Click Listener
- 36:01pter vs Layout
- 41:43RecyclerView
related talks
46mRecyclerView Animations and Behind the Scenes
37mRecyclerViews – A Developer’s deep dive
25mRecyclerview to the rescue
42mRecyclerView 13000
45mGraywater: A Framework for Fast Scroll Performance
33mListView - Recycle Your Knowledge
23mMotionLayout & RecyclerView
35mMotional Intelligence: Build smarter animations
