finds.dev← search

// the find

philipplackner/CleanArchitectureNoteApp

★ 706 · Kotlin · updated Sep 2023

A tutorial Android app demonstrating clean architecture with Kotlin, Jetpack Compose, Hilt, and Room. It's a companion to a YouTube course by Philipp Lackner, not a production template or a library — it exists to teach layered architecture patterns to Android developers learning the stack.

The layer separation (data/domain/presentation) is textbook clean — use cases are thin and don't leak Android deps into the domain layer. Hilt DI is wired correctly throughout, which is where a lot of beginners get it wrong. The Compose UI follows the unidirectional data flow pattern with a single ViewModel per screen and sealed event classes, which is the right habit to build. It ships with actual unit tests for the use cases, not just placeholder test files.

Last touched in September 2023 — Compose APIs and Hilt have moved on, and the Gradle config is pre-catalog era, so you'll spend time updating before you can build anything current. The test suite is almost entirely the boilerplate generated stubs; the one domain test covers maybe 15% of the logic. It's also a single-module project, which is fine for a tutorial but means you don't learn the multi-module setup that clean architecture actually benefits from in a real codebase. The note color logic lives in the entity, which is a domain model pollution smell the tutorial never addresses.

View on GitHub →

// want more like this?

We dig through GitHub every week and send a few repos picked for what you actually care about — each with an honest take like this one.

Get finds in your inbox → Search again →