Skip to content

This Demonstrate the JetPack architecture of android

Notifications You must be signed in to change notification settings

chandmohd/FeedsApp

Repository files navigation

Jetpack Pagging3

Android sample code for new Jetpack Paging3 Library Paging3 is one of the new Jetpack libraries for managing and loading a large chunk of the dataset from various data sources efficiently. It allows us to load pages of data from the network or local database with ease and saves our development time.

Features:

1.It caches the paged data in-memory for better usage of the system resources which not only gives fast response but also helps in data loading without hiccups.

2.It handles the network request duplication very elegantly hence saving the user's bandwidth and system resources.

3.A much flexible Recyclerview Adapter which requests & loads the data gracefully whenever the user reaches near the end of the page, yes now adapter is controlling when and what to load with one-time setup.

4.It is Kotlin first means the whole library is written in Kotlin and works very well with other offerings of the Kotlin like Coroutines and Flow. Also, it supports the much-used libraries like RxJava and LiveData as well.

5.It has inbuilt support for error handling, retry and refresh use cases.

About The App:

This Repositry is all about pagging 3 implementation for various usage like -Fetching the data from server

-sorting the data

-showing details page of eah items

-showing footer error view or loading state

Contributing:

  1. Fork it!
  2. Create your feature branch: git checkout -b my-new-feature
  3. Commit your changes: git commit -am 'Add some feature'
  4. Push to the branch: git push origin my-new-feature
  5. Submit a pull request :D

ScreenShot:

Screenshot 2020-09-26 at 3 05 40 PM

Screenshot 2020-09-26 at 3 04 22 PM

Screenshot 2020-09-26 at 3 03 00 PM

About

This Demonstrate the JetPack architecture of android

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages