~/talk

Working Effectively with Android Legacy Code

Talkat DevFest Ukraine 2018 · 2018-10-12..10-13· [android, legacy-modernisation]
github:ecgreb
slides:none on file

Defines legacy as code without tests and shows concrete tactics to get tests and reduce risk: use IntelliJ refactor tools, add unit JVM tests and Robolectric, and apply small, safe edits like sprout method or sprout class to isolate new behavior. Demonstrates wrapping a NotificationFactory with a decorator TrackingNotificationFactory, parameterizing click handlers, constructor injection and test-only static setters to break singletons. Each change is incremental and testable so refactors become verifiable rather than risky.

AI-written summary · about

  1. 0:00Introduction
  2. 3:30Legacy code meaning
  3. 7:23Working with legacy code
  4. 12:47Finding seams in code
  5. 17:22Tools for legacy code
  6. 19:11Start where you are
  7. 20:38Sprouting new methods
  8. 23:33Sprouting new classes
  9. 26:09Burrito refactoring
  10. 28:57Dependency breaking techniques
  11. 35:22Final thoughts
~/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.