RecyclerView Articles
Customizing RecyclerView SnapHelper for Multi-Page Fling Snapping
A guide to RecyclerView's SnapHelper: how it intercepts flings, maps velocity to positions, and calculates final snapping offsets, with custom strategies.
Read Post
Android FlexboxLayout and RecyclerView: W3C Spec in Measure/Layout
How Android FlexboxLayout maps the W3C flexbox spec onto View measure/layout, and how to combine it with RecyclerView.
Read Post
RecyclerView ItemDecoration: The Decorating Engine for Sticky Headers and Timelines
ItemDecoration is more than dividers. Learn how onDraw, onDrawOver, and getItemOffsets power sticky headers, timelines, and group labels in RecyclerView.
Read Post
Building a Custom RecyclerView LayoutManager: Layout, Caching, Scroll, and Animation
An end-to-end guide to writing a custom RecyclerView LayoutManager: the Fill algorithm, three-tier cache, scroll state machine, dead-reckoning, and animation tradeoffs.
Read Post
RecyclerView DiffUtil: Myers Diff, Payloads, and AsyncListDiffer
A practical look at RecyclerView DiffUtil, from Myers shortest edit scripts to payload updates, AsyncListDiffer background computation, callback timing, and cache-friendly list updates.
Read Post
What Are RecyclerView's Four Cache Levels? Understanding ViewHolder Reuse
A practical explanation of RecyclerView's four cache levels, ViewHolder reuse order, RecycledViewPool, Prefetch, and how they affect scrolling performance.
Read Post
Android RecyclerView Cache: Four Levels, Reuse, and Prefetch
A deep dive into RecyclerView's four cache layers, their different hit costs, GapWorker prefetch, and practical tuning for smoother scrolling.
Read Post
Android Modular Scroll Containers: From ViewTypes to Section Engines
A section-based Android page container architecture using ConcatAdapter, lazy loading, and module-level paging to decouple complex ecommerce screens.
Read Post