Code Refactoring The Solid Way
summary
Modularizes an Android app by extracting the data‑capture feature into 15 question‑type modules (about 50 modules overall) and moving shared code into an Android base module, introducing a LocationProvider interface so concrete GoogleLocationProvider stays in app while features depend on abstractions for easier testing. Replaces direct Mapbox/Google Maps usage with a PremiseMapComposable abstraction so SDKs are swappable, cuts map provider costs (roughly $100k saved), and improves team velocity and maintainability.
AI-written summary · about
chapters (8)
- 0:00Start
- 1:42Why Refactor A Code That Works?
- 4:23SOLID Principles
- 8:26Background
- 11:37Modularizing Premise App
- 13:43Premise Data Collection
- 14:48Data Collection Modularization
- 15:58Challenges
related talks
21mStructuring modules in an Android app project
39mScaling an Android App from 1 to 100 developers with modularization.
38mRefactoring in Android Studio
17mBest Practises for Android Development as a Daily Business
35mTools of the Trade
50mGuide Refactorings With Behavioral Code Analysis
14mBuild powerful, reliable apps with Google Play services
40mApp Development - Pragmatic Best Practices
