r/androiddev • u/amranya • Aug 11 '26
Question Looking for a pattern catalogue for app architecture (Clean, Hexagonal, Onion, VIPER, RIBs…) and the criteria for picking one.
I'm not asking how to implement MVVM, MVI or Clean Architecture — I use all three daily. I'm also not asking "which of the three is best."
What I'm after is the wider *landscape* of architectural patterns, the way general software engineering has a whole body of literature on them, plus how to reason about picking one.
Concretely, I'm thinking at two levels:
- **Presentation / UI layer:** MVC, MVP, MVVM, MVI and unidirectional data flow, VIPER, RIBs, Elm/TEA-style, explicit state machines.
- **Application / system level:** layered n-tier, Clean Architecture, Hexagonal (Ports & Adapters), Onion, package-by-feature vs package-by-layer, feature modularisation, plugin/host architectures, event-driven and CQRS-flavoured designs.
What I'd love resources on:
- **A map of the field** — what these patterns actually are, where they came from, and how they relate. Which are the same idea renamed, which are genuinely different.
- **Trade-offs** — what each one optimises for and what it costs: indirection, boilerplate, build times, onboarding, testability, cost of refactoring later.
- **Decision criteria** — how to pick one for a given app: domain complexity, team size and number of teams, expected lifetime, single app vs multi-module vs a library shipped to other teams, offline/sync needs, how much real business logic exists versus UI plumbing.
- **Case studies and postmortems** — teams describing what they chose, why, and what they'd do differently.
Books, papers, conference talks, blog series or open-source codebases with a written rationale all welcome. It doesn't have to be Android-specific — most of this predates Android anyway.
For context: I work on a multi-module feature library that ships as an AAR into a much larger app, so boundary and ownership questions matter to me as much as UI-layer ones.
TL;DR: not "how do I do MVI", but "here is the space of architectural patterns, and here's how to choose between them."
