Feature Runners - code, build, run, repeat
summary
Large apps get a fast shortcut: create a small mini app Gradle module that depends only on the target feature and shared modules so it never goes into the production APK, add a loader activity that pre-initializes state and starts the feature’s first screen, and maintain a separate DI graph (duplicate modules as needed). Use an OKHttp interceptor with local JSON stubs to avoid network calls, swap real routers for fake intent implementations for navigation, and move UI tests into the runner for much faster build-and-run cycles.
AI-written summary · about
chapters (10)
- 0:00Introduction
- 1:31Slow builds and modularization
- 2:55Modularizing dependencies
- 4:18Dedicated feature runner module
- 5:44Loading activity and DI graph
- 7:08Dependency injection setup
- 8:09Navigation between features
- 9:13Faster feature runners tips
- 11:02Live demo: weather feature runner
- 14:12Q&A








