~/talk

Patterns for Safe Refactoring of Android Apps

TalkinJapaneseat DroidKaigi 2021 · 2021-10-19..10-21· [android, software-architecture]
links:none on file
slides:none on file

Shows a concrete, incremental 5-step recipe to refactor an Android MVC app into Google’s Recommended App Architecture. Steps: extract an OkHttp remote data source, add a repository, replace AsyncTask with ViewModel + LiveData + coroutines, and finish with data binding and UI tests. Emphasizes writing unit and UI tests before swapping implementations, making each change non‑destructive, and provides a sample repo where each step compiles and preserves correct behavior.

AI-written summary · about

  1. 0:00Start
  2. 2:16From scratch
  3. 7:05Root cause analysis and countermeasures
  4. 8:15Safe refactoring
  5. 16:11Sample repository
  6. 21:18How to fix black boxes
  7. 23:30Introducing ViewModel
~/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.