Create an Android application that displays information received from network request.
-
Please note that this will require some Java or Kotlin and Android knowledge.
-
You will need to have Android Studio bundled with the Android SDK or you can choose any other IDE and download Android SDK separately if you like.
-
Please consider using a VCS to host your codebase like Github or Bitbucket
The server at the following url responds with JSON formatted data:
(GET) https://api.github.com/orgs/googlesamples/repos
The response will have a list of “Repo” objects:
[
{
"id": 19383958,
"name": "calendar-sync",
"full_name": "googlesamples/calendar-sync",
"description": "A set of samples that demonstrate how to utilize sync tokens and etags in the calendar API to sync resources more efficiently.",
"stargazers_count": 48,
"html_url": "https://github.com/googlesamples/calendar-sync",
"owner": {
"avatar_url": "https://avatars3.githubusercontent.com/u/7378196?v=4",
… <more properties>
},
… <more properties>
},
… <more objects>
]
Spend no more than two hours completing as many of these steps as possible.
-
Retrieve and print out the data received from the url above.
-
Parse the data retrieved from the server into a list of objects (You don't have to map all properties just map properties what you need)
-
Display your objects in a RecyclerView
- Should display the name, description, stargazers_count, and html_url
-
Bonus point for to have your view display the image located at each owner object’s avatar_url property.
Please be aware of rate limit of the Github Api. If you need an access token you can create personal token without any personal permission using this tokens link and you can add either using query parameter or header property shown as OAuth2 token section