Composed for Success: Automatic Instrumentation in Jetpack Compose
summary
Automatic instrumentation for Jetpack Compose that generates navigation and UI-interaction breadcrumbs without touching app code, using lifecycle observers + DisposableEffect for navigation, window.dispatchTouchEvent + GestureDetector for clicks, view-hierarchy traversal for Views and direct access to Compose semantics via the UI node tree for Compose targets. A Kotlin compiler plugin injects modifiers and a Gradle bytecode manipulation step adds hooks so apps see breadcrumbs out of the box; internal-API workarounds are used and basic tracing already works.
AI-written summary · about
chapters (11)
- 0:00Introduction to talk
- 1:12Crash investigation with breadcrumbs
- 3:23Manual navigation tracking
- 4:31Automating navigation tracking
- 8:45Compose lifecycle integration
- 10:56User interaction breadcrumbs
- 12:27Detecting clicks globally
- 16:59Compose semantics for tracking
- 22:46Kotlin compiler plugins
- 27:19Automatic instrumentation demo
- 28:45Future improvements and Q&A
related talks
28mJetpack Compose Techniques Needed at the Product Level
01h 00mJetpack Compose - Next Gen Kotlin UI Toolkit for Android
32mJetpack Compose — Next Gen Kotlin UI Toolkit for Android
19mJumping into Jetpack Compose way too early to see what's inside
31mModel-driven navigation with Jetpack Compose – From zero to hero
35mDeclarative UI patterns
29mNavigation and Dependency Injection in Compose
59mDecomposing Compose
