~/talk

Why do we need Clean Architecture?

Talkat droidcon APAC 2020 · 2020-12-14..12-15· [frontend-architecture]
links:none on file
slides:none on file

Argues that applying Clean Architecture to Android (Jetpack ViewModel, Kotlin coroutines, Room, Retrofit/Volley, Dagger) isolates business rules so the domain layer stays independent, uses small use-case classes and per-layer repositories with explicit mappers to avoid god models, and splits work into feature modules so changes (UI, network library, DB) swap without widespread regression; tradeoff is more boilerplate and slightly longer setup but far easier unit testing and incremental swaps when APIs or OS features change.

AI-written summary · about

  1. 0:00Introduction
  2. 0:25Why architecture matters
  3. 5:22MVX limitations
  4. 6:02Clean Architecture basics
  5. 7:24Dependency rule explained
  6. 9:10Domain layer independence
  7. 11:19Model separation problem
  8. 13:44Separate data models
  9. 16:33Mappers implementation
  10. 17:37View and ViewModel
  11. 19:03Use cases purpose
  12. 20:05Entities and abstractions
  13. 20:26Repository implementation
  14. 21:29Layer organization
  15. 22:10Feature modules
  16. 23:13Data flow walkthrough
  17. 23:56Benefits of clean architecture
  18. 26:51Pros and cons
  19. 28:16Resources and Q&A
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.