Skip to content

Android MVVM architecture example in kotlin, pagination example using paging 3 lib with Hilt as DI framework. data-binding library,Room and dagger-2 example in master branch.

Notifications You must be signed in to change notification settings

Pravin-Divraniya/android-mvvm-paging-hilt-kotlin

Repository files navigation

Android Architecture MVVM Kotlin Room Dagger2 + Hilt and Pagging 3

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.

Variations

This project hosts different sample app in separate repository branches.

Samples - Kotlin

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.

About

Android MVVM architecture example in kotlin, pagination example using paging 3 lib with Hilt as DI framework. data-binding library,Room and dagger-2 example in master branch.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages