This projects implements Github User search with Android Pagination 3 Library

Overview

GithubUser Search

An Android App that lists the github users sorted by most followers

GitHubUser Search

Resources

GitHub API

Building

  1. Clone the git repository
  2. Build ./gradlew assembleDebug
  3. Install ./gradlew installDebug

Task

Create an Android application that fetches the users sorted by the most followed ones (GitHub Users API https://docs.github.com/en/rest/reference/search) and display the result as a list

Architecture

This app uses the Google's Paging3 library to implement the paginated list with only remote data source

The architecture is a standard MVVM with UI observing the live data for the main list as received from the ViewModel-> Repo-> PagingSource-> RemoteDataSource .

The details view just calls the user api for every user via the Viewmodel and is "suspending" sequential in nature

The UI is made up of two fragments the List and Detail and is clubbed together using the Navigation Component'

Every layer is (Repository , API ) is preceded by an interface for separation and mocking.

Dependency is managed using Dagger2

Rate Limit handling

The Github API is is rate limited and when the limit is crossed it it gives a 403 response along with the time required for limit to be reset . In this app whenever a rate limit is hit a snackbar shows when the user can retry to fetch the data and a footer with retry button is shown

Pull To Refresh

Pull to refresh has been added and launches a new new pagination from start .

You might also like...
๐Ÿ“บ A sample app to showcase Twyper with GitHub repo search API
๐Ÿ“บ A sample app to showcase Twyper with GitHub repo search API

swipe-search A sample app to showcase Twyper with GitHub repo search API ๐Ÿ“บ Demo Screen.Recording.2022-02-20.at.9.36.10.PM.mov ๐Ÿ“š Tech Stack What How

A recipe app where user can search new recipes from an API
A recipe app where user can search new recipes from an API

Recipe -app This is a recipe app where user can search new recipes from an API, save them, create their own recipes and edit saved recipes. The app is

Movie Info - MovieInfo app that recieves popular movies and allow the user to search for specific movie through the restapi
Movie Info - MovieInfo app that recieves popular movies and allow the user to search for specific movie through the restapi

Movie_Info MovieInfo app that recieves popular movies and allow the user to sear

Android application that implements location and network related Android APIs

Location and network data collection Location and network data collection with Android's telephonyManager class. Introduction Technologies Android's A

GithubUsersGalleryApp - Github users app consumed Github API

GithubUsersApp โœจ Github users app consumed Github API โœจ Architecture Using Moder

GitHub application fetches events, repositories and profile using GitHub APIs
GitHub application fetches events, repositories and profile using GitHub APIs

GitHub application using GitHub REST API Dagger MVVM architecture Mockk Jetpack Compose Kotlin Coroutines Application pages Attention If you want to u

A PyCharm plugin that implements inlay parameter and type annotation hints for Python.
A PyCharm plugin that implements inlay parameter and type annotation hints for Python.

Python Inlay Params Quick Installation Using IDE built-in plugin system: Settings/Preferences Plugins Marketplace Search for "Python Inlay Param

A GitHub user Android apps using Dagger 2, MVVM, Modularization, Clean Architecture, and Airbnb Epoxy
A GitHub user Android apps using Dagger 2, MVVM, Modularization, Clean Architecture, and Airbnb Epoxy

A GitHub user Android apps using Dagger 2, MVVM, Modularization, Clean Architecture, and Airbnb Epoxy.

This SDK can be used to identify a user via passport or ID Card prove identity of user via Biometry comparing selfie and photo from chip of ID Doc
Owner
Siyanatullah Khan
Siyanatullah Khan
Android application for GitHub user search and view user details

GitHubApp Android application for GitHub user search and view user details Architecture UI observing the live data for the main list as received from

null 1 Mar 29, 2022
GithubUserApps is an application that can Search and Displaying the details of a User github

GithubUserApps is an application that can Search and Displaying the details of a User github. this apps is written in Kotlin with MVVM Architecture, RXJava3, Kotlin Coroutines, ROOM Database, Retrofit, and Data Store Preferences to saving the Dark/Light Theme Key-Value.

Joshua Jeremia 2 Aug 31, 2022
Sample app for tutorial: Pagination in Android Room Database using the Paging 3 Library

Demo Implementation of Paging 3 with Room DB Read the article. Demo implementation of Pagination in an Android Room Database using the Paging 3 Librar

Gourav Khunger 5 Nov 14, 2022
NewsApp - Modern Minimalistic Design, MVVM, Pagination, Retrofit, Coroutines, Room, Glide, Navigation Component (Clean Architecture)

NewsApp is a modern news android application which features virtually ALL recent and recommended android development tech stack and tools used

Osama Sayed 4 Dec 6, 2021
The App shows PR of Github Open Projects

GithubPull This App shows PR of Github Open Projects -> Developed using :- Kotlin Programming Language MVVM Design Pattern Data Binding Pagination for

Akshay Rohilla 0 Nov 2, 2021
An app that allows you to search for Github profiles of users and their repositories [d.light Android Engineer Test], for the Android Engineer Role

An app that allows you to search for Github profiles of users and their repositories [d.light Android Engineer Test], for the Android Engineer Role

Joel Kanyi 9 Aug 26, 2022
Kurly-assignment - Search GitHub Repository App For Android

Search GitHub Repository App Outline Github ๋‚ด์˜ ์ˆ˜๋งŽ์€ ๋ฆฌํฌ์ง€ํ† ๋ฆฌ๋ฅผ ํ‚ค์›Œ๋“œ๋ฅผ ํ†ตํ•ด ๊ฒ€์ƒ‰ํ•  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค. Ho

Minjeong Kim 0 Jan 5, 2022
Github Repo Search Android App

Github Repo Search Android App Modular android app for searching trending Github repositories and the details of each repository.

mertselcukdemir 4 Mar 7, 2022
Github search repository api๋ฅผ ์‚ฌ์šฉํ•ฉ๋‹ˆ๋‹ค.

GithubSearch โœ”๏ธ Description Github API ์ค‘ search repository api๋ฅผ ์‚ฌ์šฉํ•˜์˜€์œผ๋ฉฐ, ๋ ˆํฌ์ง€ํ† ๋ฆฌ๋ฅผ ๊ฒ€์ƒ‰ํ•  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค. star ๊ฐœ์ˆ˜๋ฅผ ๊ธฐ์ค€์œผ๋กœ ๋‚ด๋ฆผ์ฐจ์ˆœํ•˜์—ฌ ์ธ๊ธฐ์žˆ๋Š” ๋ ˆํฌ์ง€ํ† ๋ฆฌ๋ถ€ํ„ฐ ๋ณผ ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค. ?? GIF ?? Used

huijiny 1 Mar 3, 2022
Github Repository Search ์–ดํ”Œ๋ฆฌ์ผ€์ด์…˜ ์ž…๋‹ˆ๋‹ค.

github-search ?? Introduction Github Search API ๋ฅผ ์‚ฌ์šฉํ•ด์„œ ๊ฒ€์ƒ‰๋œ ๋ ˆํฌ์ง€ํ† ๋ฆฌ ๋ฆฌ์ŠคํŠธ๋ฅผ ๋ณด์—ฌ์ค๋‹ˆ๋‹ค. EditText์—์„œ ํ…์ŠคํŠธ๋ฅผ ์ž…๋ ฅํ•˜๋ฉด ๊ฒ€์ƒ‰ API๋ฅผ ํ˜ธ์ถœํ•˜๊ณ , debounce๋ฅผ ์‚ฌ์šฉํ•ด์„œ ํ˜ธ์ถœ ๊ฐ„๊ฒฉ์„ ์กฐ์ ˆํ–ˆ์Šต๋‹ˆ๋‹ค. ๊ฐ ๋ ˆํฌ์ง€ํ† ๋ฆฌ๋Š”

null 2 Jan 25, 2022