RecyclerView Articles

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.

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.

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.

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.

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.