https://github.com/francescogabbrielli/stargazers
A sample GitHub API client implemented with Glide and Retrofit
https://github.com/francescogabbrielli/stargazers
android dagger2 github-api glide recyclerview retrofit2
Last synced: about 1 month ago
JSON representation
A sample GitHub API client implemented with Glide and Retrofit
- Host: GitHub
- URL: https://github.com/francescogabbrielli/stargazers
- Owner: francescogabbrielli
- Created: 2018-02-22T19:26:30.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2018-04-17T17:20:45.000Z (about 8 years ago)
- Last Synced: 2024-12-28T13:35:37.431Z (over 1 year ago)
- Topics: android, dagger2, github-api, glide, recyclerview, retrofit2
- Language: Java
- Size: 153 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Stargazers
A sample GitHub API Android client that shows the stargazers list for a given repository.
## Description
Stargazers are GitHub users that show interest in a particular repository by starring it.
This app UI is pretty straightforward: there is a search bar to find a GitHub repository, with search suggestions on the fly.
Once a repository is found, you can see the list of stargazers for that repository (with avatar and login name).
The interaction over a user in the list is as follows:
- by tapping you will be redirected to the user's GitHub page
- by long tapping you will predispose a new search on that user's repositories (if any)
### Youtube sample
[](https://youtu.be/uqopHsHzD04)
## Technical notes and Open Source libraries
- The client is implemented with [Retrofit](http://square.github.io/retrofit/).
- The scrollable list is implemented with a RecyclerView using a slightly modified version of [EndlessRecyclerViewScrollListener](https://github.com/codepath/android_guides/wiki/Endless-Scrolling-with-AdapterViews-and-RecyclerView) for the infinite progressive scrolling and [Glide](https://github.com/bumptech/glide) for the thumbnail images asynchrounous management inside the RecyclerView.
- Dependency injection with [Dagger2](http://square.github.io/dagger/)