finds.dev

android10/Android-CleanArchitecture

This is a sample app that is part of a series of blog posts I have written about how to architect an android application using Uncle Bob's clean architecture approach.

View on GitHub

★ 15,541JavaApache-2.0updated Apr 2023

// the take

A reference implementation of Uncle Bob's Clean Architecture for Android, written in Java with RxJava and Dagger 2. It splits the app into three modules — domain, data, presentation — with strict dependency rules between them. This was the canonical example of this pattern for Android circa 2014-2018.

The three-module Gradle structure enforces layer boundaries at the build level, not just by convention — the domain module genuinely has no Android dependencies. The use case / interactor pattern is clearly expressed and easy to follow. Test coverage spans all three layers with separate unit and instrumentation tests. The companion blog posts explain the reasoning behind each decision, which makes this actually useful for learning rather than just cargo-culting.

This repo is a museum piece. It predates ViewModels, LiveData, Coroutines, and Hilt — the author even links to a Kotlin rewrite in the README. The RxJava threading model it uses has been replaced by coroutines in every serious Android codebase since 2020. Dagger 2 component/module setup is notoriously verbose and the patterns here will actively mislead anyone trying to apply this to a modern project that uses Hilt. Last pushed in 2023 only because someone bumped something; the architecture guidance is effectively frozen at 2018.

We read the README, the directory tree and a key source file in July 2026. Nobody pays to be listed. How we judge →

// at a glance

Stars
15,541
Forks
3,275
Language
Java
License
Apache-2.0
Last commit
28 Apr 2023

// nearby

If Android-CleanArchitecture isn't quite it.

All repos →