~/talk

Building better Android apps with MVP

Talkat droidconIN 2015 · 2015-12-12..12-13· [android, frontend-architecture]
slides:none on file

Argues for Model-View-Presenter with concrete code patterns: a Screen interface that abstracts activities, a Presenter method that calls launchNextActivity instead of creating intents, and tests that run as Presenter tests on JVM using Mockito so most behavior needs no device. Shows PostActivity unit tests that verify adapter updates and error displays, describes using Observables/Rx for API calls, and a lightweight cache/manager class that lives outside the Android lifecycle.

AI-written summary · about

  1. 0:00Start
  2. 2:02Separation of Concerns
  3. 5:35Sample App
  4. 6:06Main Activity
  5. 8:13Presenter Constructor
  6. 14:56Post Activity
  7. 19:29Test the Presenter
  8. 23:23Show an Error View or Network Error
  9. 23:53Instrumented Unit Test
  10. 24:24Functional Test
  11. 26:11How Mvp Is Better than any Vm
  12. 30:52Use an Rx Java Implementation
~/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.