MVVM-Kotlin-Android-Architecture
MVVM-Kotlin-Android-Architecture copied to clipboard
MVVM + Kotlin + Retrofit2 + Hilt + Coroutines + Kotlin Flow + mockK + Espresso + Junit5
Usually, we have multiple repos in the app, each responsible for a model. So for example: - AuthRepo - UserRepo - RecipeRepo Same can be done to the local/remote DS,...
I recommend utilizing the separate layers and creating two ui versions: The XML existing one and a new compose one. The main activity shows a button to go for each....
Good Job, I have a note , instead struct the project based on layers, we can use multi modules instead
Please add an example with one Fragment to help beginners (including me :) ) with mvvm
If we want to send parameter from front screen it will not work, similarly if the response is not list code is also not supprted for that.