A simple mvvm-clean example app for showing various dog images
The app uses mvvm clean architecture for scalability and easy testing
api
provides info regarding how the data should be requested/what will be the data that we will receive from the serverrepo
provides info regarding how the response of server should be parsed before sending to ui layersusecase
provides a mechanism to make a call via repo. since android and other user environments require a "main" thread that is free for various tasks, this layer provides a mechanism to deal with long running api callsviewmodel
provides lifecycle friendly platform for making request and performing various business logicsactivity and other ui components
provides mechanism to display data and interact with user
Mockk
andJUnit
Frameworks are used to provide unit tests for various layers
- You can find the latest generated apk here.