This is a clone of a technical test I did in the past. I had to do this project from scratch.
I've only changed the API and the naming from my initial test. Everything else is the same.
App that displays a list of drinks and their details.
Here are some improvements that could be made:
- Handle procress death with SavedStateHandle in the ViewModel
- Handle when the user is not connected to the internet
- Handle web service potential errors by using Retrofit's Response object
- Test Paging3 in a more efficient way (I haven't found a way to test all the use cases yet for this part)
- Test the web service with MockWebServer
- A more attractive UI ^^
- Feature oriented multi-module architecture
- app
- core
- network
- ui
- feature-drinks
- presentation
- di
- data
- api
- MVVM design pattern