Skip to content

Latest commit

 

History

History
41 lines (26 loc) · 2.16 KB

README.md

File metadata and controls

41 lines (26 loc) · 2.16 KB

MVVMPaging

Demonstartions of using Paging Library with MVVM architecture.

Screenshots

Variations

This project hosts each sample app in separate repository branches.

Stable samples

Sample Description
paging The base for the rest of the branches.
Paging Library + Architecture Components + Retrofit + RxJava
paging-dagger Paging Library + Architecture Components + Retrofit + RxJava + Dagger Android
paging-offline Paging Library + Architecture Components + Retrofit + RxJava + Dagger Android + Offline-first
paging-dagger-hilt Paging Library + Architecture Components + Retrofit + RxJava + Dagger Hilt + Offline-first

App Architectures

There are 2 types of architecture used in the samples.

Online App Architecture

Online app architecture fetches data from API and directly binds it to the UI. Used in paging and paging-dagger samples

Offline-First App Architecture

Offline-first app architecture fetches data from API and inserts that data into database, then those data are binded to the UI. Used in paging-offline and paging-dagger-hilt samples

offline-app