Tag: android
All the articles with the tag "android".
-
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.
-
Android Image Loading: OOM, Downsampling, and the Bandwidth Problem
Understand what really happens when Android loads an image — the download and decode pipeline, why large images cause OOM crashes, how downsampling fixes it, and the hidden bandwidth waste most apps accept.
-
Dagger 2 Fundamentals: Module, Component, Scope, and Qualifier Explained
A practical walkthrough of Dagger 2 core concepts — why it exists, how @Module, @Component, @Provides, @Inject, @Singleton, and @Qualifier work, and how compile-time code generation makes it faster than reflection-based DI.