# android/architecture-samples

A collection of samples to discuss and showcase different architectural tools and patterns for Android apps.

Repository: https://github.com/android/architecture-samples
Canonical: https://ross.abutalabs.com/products/architecture-samples
Language: Kotlin
License: Apache-2.0
License Family: permissive
Topics: android-architecture, android, samples, sample
Last push: 2026-08-26T23:56:35+00:00

## Health v2 (maintenance only)
Score: 77/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 99, release rhythm 35, longevity 100
- inputs: {"age_days": 3862, "days_push": 7, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 45802, forks 11862 (observed 2026-08-28T04:12:09.688791+00:00)

## What it is
A collection of Android sample apps from Google demonstrating different architectural patterns, centered on the same TODO app implemented across branches. The main branch uses Jetpack Compose, ViewModels, Flow, coroutines, Room, and Hilt in a single-activity architecture.

## Use cases
- learn how to structure an Android app with MVVM and repository pattern
- see a Jetpack Compose app with Navigation Compose and ViewModels
- study unit, integration, and e2e testing setups for Android
- reference example of dependency injection with Hilt
- compare different Android architecture approaches across branches
- find a testable Android app skeleton for learning

## When to choose
- you are an intermediate or beginner Android developer wanting a maintainable, testable app structure
- you need a quick architectural reference for Compose + ViewModel + Flow patterns
- you want to see realistic testing scenarios in an Android app

## When to avoid
- you need a production-ready app template with networking and authentication
- you want Material Design or advanced UI examples
- you need a starter template rather than an educational sample

## Facets
- artifact type: learning-resource
- maturity: active
- function: mobile-framework, state-management, testing, e2e-testing
- domain: mobile-development, tutorials, developer-tools
- platform: jvm
- tags: jetpack-compose, sample-app, android-architecture, mvvm, kotlin-coroutines, room, hilt, todo-app, android

## Member repositories
- android/architecture-samples (main) score 77

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:12:09.688791+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-29T16:21:38.703619+00:00, confidence not recorded.
  - readme: https://github.com/android/architecture-samples (fetched 2026-08-28T04:12:09.688791+00:00, sha 737ad822ca46)
- Data as of 2026-08-30T08:39:29.467469+00:00.
