Preview Driven Development
summary
Argues that Jetpack Compose Previews become a fast development surface by isolating features into previewable modules, using fake repositories and split modules (e.g. network vs network-live) so previews only pull lightweight interfaces not heavy runtime libs. Shows a weather demo app that deploys previews to device and a playground app that runs the whole UI against fakes; previews work and speed up iteration. Simulates slow builds (≈8m45s) to justify separation.
AI-written summary · about
chapters (22)
- 0:00Introduction
- 1:52Agenda
- 2:36What is Jetpack Compose
- 3:57Preview Configuration
- 5:11Preview Deployment
- 5:52Previews in the IDE
- 6:31Takeaway
- 6:52Isolated Features
- 8:03Mini Apps
- 8:57Benefits
- 10:58Faking dependencies
- 12:41Expensive dependencies
- 13:24Interfaces
- 13:55Grails
- 16:25Demo
- 18:54Current State
- 19:58Long Build Time
- 20:56Separated Modules
- 28:58Takeaways
- 31:18How to apply this
- 32:56Resources
- 34:26Questions
related talks
34mMastering Jetpack Compose Previews - Test your UI before it tests you!
19mLet's Preview! Jetpack Compose
01h 12mJetpack Compose — live coding declarative UI
40mUnderstand the mechanism! Screenshot-testing Compose previews in many variations
38mPractical Tips and Tricks to Improve Your Compose Previews
24mDiscover and Reuse UI Components in Compose with Showcase
01h 05mLet's build Android UI with Jetpack Compose
44mUnleashing the Power of Jetpack Compose: Revolutionizing Android UI Development
