// the find
android/compose-samples
Official Jetpack Compose samples.
The official sample app collection for Jetpack Compose from the Android team. Six standalone apps covering a range from a simple chat UI to a full podcast player with Room, coroutines, adaptive layouts, and TV/Wear targets. The intended audience is Android developers learning Compose or looking for canonical patterns to copy from.
Jetcaster is the most useful sample here — it covers dynamic theming from artwork colors, multi-module architecture, Room + coroutines, and has separate TV and Wear variants in the same project. Reply shows adaptive layout done properly: phones, tablets, and foldables using WindowSizeClass and SupportingPane, which is rarer to find done right in sample code. JetLagged's custom graph rendering with Canvas and Paths is one of the better examples of low-level drawing in Compose that doesn't just wrap a charting library. Each sample has its own separate Gradle project and CI workflow, so you can clone one and run it without pulling in the others.
The samples use fake/hardcoded data throughout — no real networking, no real backend, no pagination. That gap matters because the tricky Compose problems (LazyColumn with async paging, state management across network errors, loading/error/empty state machines) aren't covered. Jetcaster is the advanced sample but its ViewModel layer is still fairly thin for what a real podcast app would need. Several older samples (Crane, Rally, Owl, Jetsurvey) were dropped in 2024 without replacement — the feature coverage matrix has gaps now. Tests are present but light; most are smoke tests that verify the screen renders, not behavioral tests of the state machines.