MVVM architecture, using Dagger2, Retrofit2, Data Binding, Navigation and more.
This app is updating contact and address details, adding bags and sending this information to the server. After the information was sent the app display a review window.
The app is structured by feature folders:
DropItTest ->
address -> (Contains Address Fragment and ViewModel)
bags -> (Contains Bags Fragment, ViewModel and two RecyclerView Adapters)
contact -> (Contains Contact Fragment and ViewModel)
data -> (This data layer contians the Repository, the entities and the Retrofit Service and Client)
di -> (Dependency Injection package that contains AppComponent, SubComponent and ServiceModule that provides the Retrofit Service)
main -> (Contains the Activity and ViewModel)
review -> (Contains Review Fragment and RecyclerView Adapter)
util -> (Contains all the shared files between the components)
Contact Details (ContactFragment):
Address (AddressFragment):
Bags (BagsFragment):
Review Drop (ReviewFragment):
Connection Error (ErrorFragment):
Dependencies:
RecyclerView, Navigation, Dagger2, Gson, Retrofit2, OkHttp3, Dagger2, Lottie.