Posts
All the articles I've posted.
-
Multipart Requests and Range Header — How Pause and Resume Downloads Work
Understand multipart HTTP requests for sending mixed content types in one POST, and how the Range header enables pause and resume downloads — the client tracks the last byte received and resumes from exactly that position.
-
Android BitmapPool and inBitmap: Eliminating GC-Caused UI Lag While Scrolling
Learn how BitmapPool and the inBitmap option eliminate the third image-loading problem — GC-caused UI freezes during RecyclerView scrolling — by reusing bitmap memory instead of allocating and discarding it.
-
Android Image Caching: RAM, Disk, LRU Eviction, and the Two-Level Strategy
Understand Android's two-level image cache — RAM and disk — how LRU eviction keeps it bounded, and how the memory-disk-network waterfall turns a 7-second cold load into an instant repeat load.
-
Why Images Load Slowly in RecyclerView and How Glide Fixes It with ViewTreeObserver
Learn why fast scrolling in a RecyclerView causes slow image loading, how thread queues get clogged by already-scrolled-past items, and how Glide uses ViewTreeObserver to cancel unwanted tasks at exactly the right moment.