Jetpack Compose Articles
Jetpack Compose CompositionLocal: Implicit Data, Scope, and Internals
A deep dive into CompositionLocal, including parameter tunneling, compositionLocalOf versus staticCompositionLocalOf, Slot Table internals, and engineering tradeoffs.
Read Post
Android Large Screens and Foldables: From WindowSizeClass to Compose Adaptive Layouts
A practical guide to Android large-screen and foldable adaptation with WindowSizeClass, Compose adaptive layouts, posture awareness, split-screen behavior, and responsive UI strategy.
Read Post
Compose Custom Layout: MeasurePolicy, Intrinsics, and Waterfall Layouts
A deep dive into Jetpack Compose custom layout, from MeasurePolicy constraints and intrinsic measurement to SubcomposeLayout, adaptive grids, waterfall layouts, and debugging tips.
Read Post
Inside Android CameraX: From Camera2 Pipeline to Compose Camera UI
Analyze CameraX's layered pipeline from HAL and Camera2 to UseCase APIs and Compose integration, with production lessons on focus, resolution, and leaks.
Read Post
Jetpack Compose Animation Internals: AnimationSpec, Springs, and Transition
A deep dive into Compose animation internals, including spring physics, the Choreographer-to-Snapshot frame pipeline, and how Transition synchronizes multiple animated properties.
Read Post
Compose Recomposition: Strong Skipping, Compiler Reports, and State Reads
(Updated on )
A practical end-to-end guide to diagnosing and optimizing Compose recomposition, covering stability inference, compiler reports, Layout Inspector, derivedStateOf, and state read placement.
Read Post
Android 16 Predictive Back: Migration, Dispatchers, and Gesture-Driven Animation
A practical Android 16 Predictive Back migration guide covering OnBackInvokedDispatcher registration, OnBackAnimationCallback frame-driven animation, Fragment support, Compose PredictiveBackHandler, and a migration checklist.
Read Post
Jetpack Compose Snapshot State: From MutableState to Recomposition
A deep dive into Compose Snapshot as an MVCC runtime, covering MutableState writes, Snapshot apply, RecomposeScope invalidation, derivedStateOf, and MutationPolicy.
Read Post
Android Official Skills Deep Dive: Redefining Android Development Workflows with AI Agents
A deep dive into Google's official android/skills repository, a structured instruction set for AI agents that covers Compose migration, Navigation 3, R8 optimization, and other core Android workflows.
Read Post
Android Navigation3 Architecture: Putting the Back Stack Back in Developers' Hands
A close look at Navigation3's core design: turning the back stack from a NavController black box into developer-owned Compose state, with Scene strategies for multi-pane layouts.
Read Post
Android In-App Search: From FTS Full-Text Indexing to Compose Search UI
A full-stack walkthrough of Android in-app search optimization, from SQLite FTS5 indexes and Room integration to debounced Compose search that reduced response time from 1.8 seconds to 15 ms.
Read Post
Android Wear OS Compose: ScalingLazyColumn, Tiles, and DataLayer
A practical deep dive into adapting Compose UI for Wear OS, covering round-screen clipping, ScalingLazyColumn, Tile rendering constraints, and DataLayer synchronization.
Read Post
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.
Read Post
Compose Canvas Custom Drawing: From DrawScope to Declarative Chart Architecture
A deep dive into Compose Canvas, DrawScope, coordinate mapping, path drawing, text layout, and a layered architecture for declarative chart components.
Read Post
Android App Shortcuts Deep Dive: ShortcutManager, Pinning, and Compose
(Updated on )
A deep dive into Android App Shortcuts, covering ShortcutManager limits, static and dynamic shortcut configuration, Intent routing, pinned shortcuts, and Jetpack Compose integration.
Read Post
Android On-device AI Chat Compose UI Architecture: Streaming Rendering and Multi-turn Conversation State
Compose UI patterns for on-device LLM chat apps, using token buffering, state isolation, and a single source of truth to keep streaming output smooth.
Read Post
Kotlin Inline Functions and reified: Bytecode-Level Optimization
A bytecode-level look at Kotlin inline functions, noinline, crossinline, and reified generics, with practical notes for Compose and compiler optimization.
Read Post
Kotlin Sealed Classes and Interfaces: Type-Safe UI State
A practical guide to Kotlin sealed classes and sealed interfaces, from exhaustive when checks to type-safe Compose UI state, MVI reducers, Flow results, and Navigation routes.
Read Post
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.
Read Post
Android On-device LLM Streaming Output: From Tokens to Compose UI
A full-stack architecture for Android on-device LLM streaming output, covering KV Cache memory pressure, Kotlin Flow backpressure, and incremental Compose rendering.
Read Post