extra credit Search 85,062 technologies ⌘K Download for Mac

Guide to Android app architecture

Official docs outline

  1. Guide to app architecture

    Separation of concerns, drive UI from models, single source of truth and unidirectional data flow.

  2. UI layer

    UI state, state holders, ViewModel and UI elements.

  3. Domain layer

    Optional use cases that encapsulate business logic.

  4. Data layer

    Repositories, data sources and exposing data.

  5. Offline-first apps

    Local source of truth, sync and conflict handling.

  6. UI events

    Handling user and ViewModel events and one-off effects.

  7. Architecture recommendations

    Best-practice recommendations for each layer.

  8. Modularization

    Multi-module structure, coupling and cohesion.

Each section links to the official page. Titles and summaries by Extra Credit; the docs belong to their authors.

↑↓ move ↵ open