architecture-samples
by
android

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

View on GitHub ↗

Summary Information

Updated 30 minutes ago
Added to GitGenius on February 25th, 2026
Created on February 5th, 2016
Open Issues & Pull Requests: 221 (+0)
Number of forks: 11,862
Total Stargazers: 45,745 (+0)
Total Subscribers: 2,381 (+0)

Issue Activity (beta)

Open issues: 106
New in 7 days: 0
Closed in 7 days: 0
Avg open age: 1,812 days
Stale 30+ days: 103
Stale 90+ days: 101

Recent activity

Opened in 7 days: 0
Closed in 7 days: 0
Comments in 7 days: 8
Events in 7 days: 8

Top labels

  • question (11)
  • bug (8)
  • enhancement (8)
  • New sample community request (6)
  • invalid (2)
  • New sample (1)
  • duplicate (1)
  • wontfix (1)

Repository Insights (GitGenius)

Median issue/PR response: 1438.1 days
Mean response time: 1489.8 days
90th percentile: 2707.1 days
Tracked items: 89

Most active contributors

Detailed Description

The Android Architecture Samples repository is a collection of reference implementations maintained by Google that demonstrates different architectural approaches for building Android applications. The repository uses Kotlin as its primary language and is organized across multiple branches, each implementing the same TODO application with varying architectural patterns and tooling choices.

The main branch showcases a modern Android development approach built on Jetpack Compose for the user interface, combined with a single-activity architecture using Navigation Compose for screen navigation. The presentation layer follows the MVVM pattern, with each screen or feature having its own ViewModel. The implementation uses Flow and Kotlin coroutines to handle asynchronous operations and create reactive user interfaces. The data layer is structured with a repository pattern that abstracts two data sources: a local Room database and a mock remote data source. The project includes two product flavors, mock and prod, to facilitate development and testing workflows. Dependency injection is handled through Hilt, and the codebase includes comprehensive testing coverage with unit tests, integration tests, and end-to-end tests that can run on emulators or physical devices.

The repository explicitly positions itself as an educational resource rather than a production template or UI showcase. It is designed for intermediate developers and beginners seeking to understand how to structure testable and maintainable applications, while also serving as a quick reference for advanced developers. The TODO application was deliberately chosen as the sample project because it is simple enough to understand quickly but complex enough to illustrate difficult design decisions and testing scenarios.

According to GitGenius activity tracking, the repository has experienced significant response latency on issues and pull requests, with a median response time of approximately 34,513 hours and a mean of 35,755 hours across 89 tracked items. The most active contributor tracked by GitGenius is VaradGupta23 with 76 events, followed by thewyp with 5 events and Anatolii6399 with 1 event. The repository has received bug reports and questions as its most active issue types. GitGenius has identified overlapping contributors between this repository and major projects including microsoft/vscode, microsoft/typescript, and rust-lang/rust, indicating cross-pollination of development practices across different technology ecosystems.

The repository covers multiple architectural patterns and design approaches, including MVVM, MVI, and clean architecture principles. It serves as a practical guide for implementing Jetpack libraries and best practices in Android development. The samples are designed to be opened directly in Android Studio, making them accessible for developers who want to study the code structure and patterns in a familiar development environment.

architecture-samples
by
androidandroid/architecture-samples

Repository Details

Fetching additional details & charts...