Android app example using VMMV architectural pattern.
- To run the app clone the repository or download and uncompress it.
- Open the project in android studio and run it.
- Select a specifict test and run it.
- Or chose Run 'All tests' with contextual menu over app folder in the left project panel.
For this example i used https://jsonplaceholder.typicode.com
The main design patter used is Material Design from (com.google.android.materia)
- Retrofit for http request
- Room for data persistence
- The example app is based on Google recomendation: https://developer.android.com/topic/architecture#recommended-app-arch
- I used viewBinding and dataBinding to pass some view controls to the view file.
- The repository is based on a inteface and the viewModel use an inyected depencency of the repository instance, this allow an easy way to test the viewModel.
- Unit tests including viewModel and LiveData tests
- Instrumentation test checking Activity and RecyclerView
- A splash screen for the first time loading the app.