Skip to content

Latest commit

 

History

History
34 lines (28 loc) · 2.89 KB

README.md

File metadata and controls

34 lines (28 loc) · 2.89 KB

paginated-github-pulls-app

An Android Apps that display paginated list of closed pull requests of a public repo

About

The App Loads list of closed pull requests from Github API and shows in a recyclerView using Paging3 library. It parses pagination info from the link header in the api response and use it in paging adapter. It also display loading state of paging data using LoadStateAdapter.

ScreenShots

Built With 🛠

  • Kotlin - First class and official programming language for Android development.
  • Coroutines - For asynchronous and more..
  • Flow - A cold asynchronous data stream that sequentially emits values and completes normally or with an exception.
  • Hilt-Dagger - Standard library to incorporate Dagger dependency injection into an Android application.
  • Android Architecture Components - Collection of libraries that help you design robust, testable, and maintainable apps.
    • LiveData - Data objects that notify views when the underlying database changes.
    • ViewModel - Stores UI-related data that isn't destroyed on UI changes.
    • ViewBinding - Generates a binding class for each XML layout file present in that module and allows you to more easily write code that interacts with views.
    • Paging3 - Helps you load and display pages of data from a larger dataset from local storage or over network.
  • Retrofit - A type-safe HTTP client for Android and Java.
  • Moshi - A modern JSON library for Kotlin and Java.
  • Moshi Converter - A Converter which uses Moshi for serialization to and from JSON.
  • Material Components for Android - Modular and customizable Material Design UI components for Android.

Architecture

This app uses MVVM (Model View View-Model) architecture.