~/talk

Ingredients for a healthy codebase (en)

Talkat Droidcon Paris 2015 · 2015-11-09..11-10· [android, frontend-architecture]
slides:none on file

Argues that a clean architecture with a repository layer and pure-Java domain use cases makes Android apps far easier to test and maintain, replacing monolithic Activities/Fragments and singletons. Shows a working search feature wired with Retrofit, OkHttp, RxJava and Dagger 2, uses MVP presenters that emit minimal view models, and verifies behavior with unit tests plus Robolectric for fragments. Demonstrates swapping a repo for a JSON loader in tests so UI behavior stays deterministic rather than flaky.

AI-written summary · about

  1. 0:00Start
  2. 8:24Clean architecture
  3. 12:03Data layer: repository pattern
  4. 14:58Domain layer
  5. 19:52Model vs. View model
  6. 22:26Presentation layer
  7. 24:05Communication
  8. 27:03Structure
  9. 32:28Testing
  10. 34:52Conclusion
~/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.