Just clone this repository, and import the project in Android Studio and sync with Gradle.
Application implements Flavors and FlavorDimensions.
In order to build staging debug version invoke
./gradlew assembleStagingDebug
In order to build production debug version invoke
./gradlew assembleProductionDebug
The project is created in MVVM architecture, which allows separating the user interface logic from the business logic.
MVVM has mainly the following layers:
- Model Model represents the data and/or information.
- ViewModel ViewModel interacts with model and also prepares observable(s) that can be observed by a View.
- View View is to subscribe to a ViewModel to get data in order to update UI elements accordingly.
MVVM components and interaction between them:
Dependencies used in the application: