Replicate the below UI and animation flow:https://dribbble.com/shots/6571883-Food-Delivery-App
Didn't use exact images. Used the following dependencies/libraries to implement:
- Rxjava
- Kotlin
- MvRx architecture. (https://github.com/airbnb/MvRx)
In order to accomplish the assignment, the following parts where taken care of:
The App is fully developed in Kotlin
Because of the assignment, MvRx architecture was used.
The library Square okhttp was used to create the network calls which are not being used because of the mocked server.
To accomplish the carousel and the tabs, view pager 2 was used
To be able to complete the flow, a Bottom Sheet Dialog Fragment was implemented
Animations were implemented with the use of Airbnb’s Lottie library
The improvements to do to this code are to use DI such as Koin or Dagger and to write some unit tests to test the network calls and viewmodels once they are implemented. Also, in order to keep a clean architecture, some mapper functions should be created