Tag: android
All the articles with the tag "android".
-
Dependency Injection vs Inversion of Control in Android: A Practical Guide
Understand the difference between Dependency Injection and Inversion of Control with a step-by-step Car, Engine, Motor example. Learn why good code means writing more lines — and why that's worth it.
-
Keep-Alive Time, Multiple Thread Pools, and Why 4 Threads Can Beat 40
Understand keep-alive time, why separating tasks into multiple thread pools improves UX, and the experiment that proves fewer threads can finish 10,000 tasks faster than more threads.
-
Android Thread Pool: How Core Size, Max Size, Queue, and Rejection Actually Work
Learn why unlimited threads crash apps, how a thread pool fixes it with four key parameters — core size, max size, keep-alive time, and queue capacity — and exactly when rejection happens.
-
Flow vs Suspend in Room DAO - When to Use Which in Jetpack Compose
Learn the key differences between Flow and suspend in Room DAO. Understand when to use Flow for real-time updates and suspend for one-time operations in Jetpack Compose apps.