nowinandroid
nowinandroid copied to clipboard
Refactor network module
What I have done and why
- Refactored the network module to use dependency injection (DI).
- Introduced separate interfaces for each entity API.
- No functional changes; behavior remains the same.
This refactor was inspired by using the NIA project as a base project. It improves maintainability and makes the codebase easier to extend when working with multiple API methods.
Testing
- Ran
./gradlew testDemoDebuglocally; all tests passed. - Applied formatting via
./gradlew --init-script gradle/init.gradle.kts spotlessApply.
Related issues
- N/A