~/talk

A Journey Through MV Wonderland

slides:none on file

After four redesigns in six months a single thousands of lines fragment is refactored away and architecture shifts from MVC to MVP and finally to MVVM that uses RxJava observables to expose streams rather than direct view calls. Tests mock the model and verify emitted view state, presenters or view models hold UI logic, onResume/onPause subscribe and unsubscribe, state persists via Parcelable/Bundle, dependency injection and AutoParcel simplify wiring, and the new structure survives another redesign.

AI-written summary · about

  1. 0:00Introduction to architecture struggle
  2. 1:18Three MV patterns overview
  3. 3:02Model View Controller explained
  4. 5:10Controller testability issues
  5. 6:58Mistakes in MVC implementation
  6. 7:40Model View Presenter pattern
  7. 10:37Event-based MVP to MVVM
  8. 11:41Model View ViewModel explained
  9. 13:27Differences MVP vs MVVM
  10. 14:09Views in MVP and MVVM
  11. 15:11Dependency injection benefits
  12. 15:32Splitting complex views
  13. 16:15Logic placement in patterns
  14. 16:58Handling view dependencies
  15. 18:23Android lifecycle roles
  16. 20:32MVVM solution benefits
  17. 20:52Choosing the right pattern
  18. 21:57Key questions for good code
  19. 22:20Q&A session
~/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.