GithubHelp home page GithubHelp logo

qasimnawaz / paging3example Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 0.0 33.1 MB

The Paging Library helps you load and display pages of data from a larger dataset from local storage or over the network. This approach allows your app to use both network bandwidth and system resources more efficiently. In this example, I tried to implement pagination with room

kotlin coroutines room livedata flow viewmodel coroutine retrofit2 databinding

paging3example's Introduction

Paging3Example

Description

The Paging Library helps you load and display pages of data from a larger dataset from local storage or over the network. This approach allows your app to use both network bandwidth and system resources more efficiently. In this example, I tried to implement pagination with room

Development Roadmap

LiveData - LiveData is an observable data holder class

Flow - Works very well with coroutines, provides us with cold streams which can be transformed using well known reactive operators.

ViewModel - The ViewModel class is designed to store and manage UI-related data in a lifecycle conscious way

Coroutines - For offloading long running tasks to background

Room - For storing our application data

Retrofit - For making API calls

Dagger Hilt - For dependency injection

Gradle Kotlin DSL - Gradle’s Kotlin DSL provides an alternative syntax to the traditional Groovy DSL with an enhanced editing experience in supported IDEs, with superior content assist, refactoring, documentation, and more

Databinding - To bind UI components in your layouts to data sources in your app using a declarative format rather than programmatically

Paging - The Paging library helps you load and display pages of data from a larger dataset from local storage or over network

paging3example's People

Contributors

qasimnawaz avatar

Stargazers

 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.