Performance Articles

Android ConnectivityManager Deep Dive: From NetworkCallback to Adaptive Network Switching

From NetworkInfo's limits to the NetworkCapabilities model, this article explains real-time network monitoring and adaptive switching with ConnectivityManager.

LazyColumn Performance: Keys, Content Types, Stability, and Measurement

(Updated on )
Diagnose LazyColumn jank with stable item identity, content types, carefully scoped state, and release-mode Macrobenchmark measurements.

Compose Phases: Composition, Layout, Drawing, and State Reads

(Updated on )
Understand Compose's composition, layout, and drawing phases, then place state reads where they invalidate the least work.

Android Large IPC: From Binder's 1 MB Limit to ASharedMemory

A practical guide to large cross-process data transfer on Android, comparing Binder limits, MemoryFile, ASharedMemory, Surface, and ContentProvider.

Android Custom IME: InputMethodService, Process Isolation, and Candidates

A practical guide to Android custom input methods, covering InputMethodService, IME process isolation, InputConnection, candidate engines, and keyboard rendering.