Implemented data module and basic networking setup using Retrofit and a common HttpClient.
Implemented Jetpack's DataStore to save data on preferences with a simple token example, using a classic AuthInterceptor.
Implemented error handling based on coroutines. With a simple dialog example until sample app implementation. More info about this on this notion page
Implemented DI for the data module, as well as the MainActivity's ViewModel, following the Koin setup made by Agus 👍🏼 .
Implemented unit test for DI that works in the same way as Hilt compile time checks works.
It would be good to add a pre-commit hook to run these tests automatically in the future.
Updated Kotlin to 1.8.22 and gradle to 8.0.2, as well as the required upgrades on other libraries.
Removed Moshi and Gson dependencies, they are not needed because Kotlin got its own Serializer after Kotlin 1.5
Removed Mockito since we use Mockk.
Added some TODOs to analyze
Notes
A working use case will be implemented on the example app branch
ISSUE[3]
closes #3
Description
Added some TODOs to analyze
Notes
A working use case will be implemented on the example app branch
Screenshots
Missing dependency in DI Module
Missing mock in DI tests: