AAndroid Expert·1d agoThirty Percent Lighter: Auditing R8 on a Real Android AppA step-by-step R8 audit: baseline with APK Analyzer, clean up keep rules, survive full mode, and measure what really changed.15 min read·android-expert.hashnode.dev
AAndroid Expert·1d agoProving the Savings: A Field Guide to Measuring Android Battery DrainUse Perfetto, Battery Historian, and Macrobenchmark to run repeatable tests and prove a battery optimization actually worked.19 min read·android-expert.hashnode.dev
AAndroid Expert·1d agoTeaching ART What Matters: Baseline Profiles and Startup Profiles, Step by StepMacrobenchmark setup, profile generation, honest cold start measurement, and CI automation, with Kotlin code and the failures that bite.18 min read·android-expert.hashnode.dev
AAndroid Expert·1d agoThree Clocks, One Battery: Picking Between WorkManager, Foreground Services, and AlarmsHow to route Android background work correctly, with Doze behavior, real failure modes, and a battery cost model.14 min read·android-expert.hashnode.dev
AAndroid Expert·1d agoSeen Is Not Rendered: Trustworthy Impression Tracking with Modifier.onVisibilityChangedBuild a deduplicated, lifecycle-aware impression tracker with onVisibilityChanged and dodge the LazyColumn traps that skew analytics.19 min read·android-expert.hashnode.dev
AAndroid Expert·1d agoOne Pipe, Three Faucets: How Flow Operator Fusion Collapses buffer(), conflate() and flowOn() Into…How Kotlin Flow operator fusion merges buffer, conflate and flowOn, and the silent bugs it causes in real Android apps11 min read·android-expert.hashnode.dev
AAndroid Expert·1d agoThe Wrapper You Never Wrote: Tracking Hidden Boxing of Kotlin Value Classes on AndroidGenerics, nullability and interfaces quietly force allocations. Learn the boxing rules, then prove them with bytecode and the profiler.17 min read·android-expert.hashnode.dev
AAndroid Expert·Nov 17Catching Production Jank You Can’t Reproduce: ProfilingManager System Triggers 🔴Capture Perfetto traces from real users’ Android devices when jank or ANRs hit. Learn ProfilingManager triggers, Kotlin setup, uploads and privacy.18 min read·android-expert.hashnode.dev
AAndroid Expert·Nov 17Liquid Backdrops: Animated Mesh Gradients in Jetpack Compose, From First Vertex to Shipped ComponentBuild animated, Apple-style mesh gradient backgrounds in Jetpack Compose with MeshGradientPainter, dynamic color, benchmarks, and pitfalls to avoid.17 min read·android-expert.hashnode.dev
AAndroid Expert·Nov 11Lambdas Aren’t Free: A Bytecode Tour of Kotlin’s inline and reifiedSee what Kotlin inline and reified really do at the bytecode level: lambda allocations, code bloat, noinline, crossinline and Android use cases.16 min read·android-expert.hashnode.dev