Git Product home page Git Product logo

list-github-repo-issues's Introduction

List GitHub Repos & Issues using Paging Library

This application is created to show how paging library can be used to load infinite lists and used in conjunction with Network fetch & Room Database.

This app gives the user the ability to show a list of all the issues of a specific GitHub repository, if a user choose an issue of interest the app will also display a detail screen to see what the particular issue is about.

Tech Stack Used

  1. Android Architecture Components (Room Database, LiveData, Paging Library(PagedList, PagedListAdapter)).
  2. Application Architecture is MVVM.
  3. Networking using Retrofit 2.
  4. Used Kotlin.
  5. Used Kotlin Coroutines for Async Operations.
  6. Used Retrofit 2 Adapter for Kotlin Coroutine's Deferred type.
  7. Whole project is based on AndroidX.
  8. Used Dagger 2 for Dependency Injection.
  9. Picasso for Image handling.

1. List of Issues screen

This screen shows a list with all the issues of a repository of our choice.

A. Implemented lazy loading of list items.
B. Implemented a way to refresh the list.
C. Loading indicator shows up while data being fetched.
D. A way for a user to retry when loading fails.
E. Restore screen state on screen orientation change.
F. Tapping a list entry opens a detail view of the issue.
G. Repository selection works by giving user the ability to use Search Repository option in the menu item. In case, the user has not entered anything then we use a default value of our preference.
    Eg. 'tensorflow' ~> https://github.com/tensorflow/tensorflow.

2. Issue's Detail screen

The detail screen displays:

A. Issue's title
B. Issue's body
C. Issue's status
D. Author’s login
E. created_at`

TODOs

- Implement a search field which allows the user to filter issues list by keywords, which
could be contained in either title or body of an issue.
- Implement a filter for status of issues (opened and closed).
- Implement a way to select the git repository.
- Display corresponding issue comments in a detail view.

list-github-repo-issues's People

Contributors

aldocastro avatar sheraz-nadeem 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.