An Android Fetch Products, Categories, Collections and Shops with Kotlin + MVVM + Retrofit2 + Live Data + Glide
It is a simple android application that Fetch Products, Categories, Collections and Shops.
VITRIN uses MVVM [Model-View-ViewModel] architecture to have a unidirectional flow of data, separation of concern, testability, and a lot more and It uses HILT to provide a standard way to incorporate Dagger dependency injection into an Android application.
Model-View-ViewModel (MVVM) is a software design pattern that is structured to separate program logic and user interface controls. MVVM is also known as model-view-binder and was created by Microsoft architects Ken Cooper and John Gossman.
Hilt is a dependency injection library for Android that reduces the boilerplate of doing manual dependency injection in your project. Hilt provides a standard way to use DI in your application by providing containers for every Android class in your project and managing their lifecycles automatically. Hilt is built on top of the popular DI library Dagger to benefit from the compile-time correctness, runtime performance, scalability, and Android Studio support that Dagger provides