Building a scalable, modularized, testable app from scratch
summary
Builds the Now in Android app’s ForYou feature end-to-end: a bookmark-capable news feed implemented with Kotlin flows and StateFlow, local storage via Jetpack DataStore, repositories combining network and local data, and a ViewModel that combines streams with combine to produce UI state. UI uses Jetpack Compose and Material3 components, modularized into feature/core modules with convention plugins and a Gradle version catalog. Tests include unit tests with a test dispatcher and an instrumented Compose UI test. Source: goo.gle/3XTxMIR.
AI-written summary · about
chapters (12)
- 0:00Introduction
- 1:12Architecture overview
- 2:47Data layer
- 5:03UI layer overview
- 5:26Creating a state holder
- 8:50Creating a screen
- 11:34Modularization
- 14:37Testing
- 17:36Creating an instrumented test
- 18:27Material Design
- 20:03Material component customization
- 20:43Summary
related talks
45mImplementing Modern Android Architecture
42mBuild testable apps for Android
49mBuilding for the future at Snapchat
49mBuilding an Android UI using declarative programming in Jetpack Compose
41mKeynote: Now in Modern Android
35mNext Generation Android UI with Jetpack Compose
14mImplementing Android apps for all screen sizes
47mUp to Date? Talking About Your App
