~/talk

Android Architecture Components Considered Harmful

Talkat Mobilization 2017 · on Saturday, 2017-10-21· [android, software-architecture]
links:none on file
slides:none on file

Android Architecture Components (LiveData, LifecycleOwner, ViewModel) often increase coupling and complexity: LiveData replaces a simple three-actor observer with five objects and seven communication paths, hides the observer interface, and exposes an observedForever API that easily causes leaks. ViewModel does not replace save/restore, adds a second lifecycle to manage, and can introduce memory leaks if it holds Context; rotation optimization benefits are tiny — under 5% of screens — while many devices (≈50%+) trigger frequent save/restore, so these libs often complicate rather than simplify.

AI-written summary · about

  1. 0:00Introduction
  2. 1:30What is Architecture
  3. 3:20Architecture Approaches
  4. 5:25Who are these people
  5. 6:10Evolve II
  6. 6:55Architecture
  7. 9:25Libraries
  8. 12:30Uncle Bob
  9. 13:00Android Architecture Companies
  10. 14:10Naming
  11. 15:10Design Implementation
  12. 15:40Live Data
  13. 19:30Live Data vs Observer
  14. 23:17Custom Observer Pattern
  15. 27:11Live Data Observer
  16. 31:06ViewModel
  17. 33:59HumanAuto
  18. 36:03Save and Restore
  19. 40:12Memory Leak
  20. 42:04Summary
  21. 43:21Questions
~/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.