This example demonstrates MVVM architecture implementation in Android using different architecture components and DI frameworks like Dagger and Hilt. In its different branches, you will find the different implementations with different libraries and frameworks.
You'll find:
- Kotlin Coroutines for background operations.
- The Navigation component to manage fragment operations.
- MVVM architecture to separate presentation layer (View) and business logic (ViewModel)
- Reactive UIs using LiveData observables and Data Binding.
- A data layer with a repository and data sources.
This project hosts different sample app in separate repository branches.
Sample | Description |
---|---|
master | A sample MVVM app that uses architecture components. Uses Kotlin, Architecture Components, Data Binding, Room, etc. Example follows SOLID principles and includes management of local and remote data through the DataManager class. |
feature-di-hilt | An application using MVVM architecture to demonstrate paging 3 library. API:- rick and morty api. It uses Kotlin, Coroutines, LiveData, Retrofit, Navigation Components, Room for page caching, etc. Application display page from network and database using RemoteMediator. For more information check this. |