Half Way to clean architecture
summary
An Android app with ~100k lines and 100 million installs migrates from a homemade event-bus mess to a layered Clean Architecture using MVP and RxJava, keeping repositories as singletons and converting layer-specific models at boundaries. Migration happens incrementally (no rewrite), led by two core engineers, refactored about five times, using Studio wizards and abandoning data binding when it hurt tests. Result: far better testability, faster delivery, fewer bugs, and safe rollbacks.
AI-written summary · about
chapters (11)
- 0:00Introduction
- 3:30Layers
- 5:50Data
- 7:15Repository
- 10:03Use Cases
- 11:55MVP
- 15:52Boring
- 16:43Benefits
- 18:21How we migrated
- 19:31Discussion
- 20:57Questions
related talks
31mArchitecture metamorphosis: a real case study
42mIngredients for a healthy codebase (en)
31mPatterns for Safe Refactoring of Android Apps
28mCleaning Cleaned Clean Architecture
40mOur way to the clean architecture
47mClean Architecture for Android
28mHands-on Android Architecture & Architecture Components
26mApp Architecture Then and Now: Lessons from the DroidKaigi Conference App History
