Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Simple demo to fetch data from rest endpoint using retrofit. #123

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

its-snorlax
Copy link

Fixes #120

In this, we follow the MVP pattern which is the most common and widely used when it comes to fetching data from the rest endpoints. We are using Retrofit and fetches data from https://api.github.com/repositories/19438/issues and pick some information from the whole JSON and display it in RecylerView.

Output:
image

@admin-vbsquad
Copy link
Contributor

@juniorjainsahab we are making this repo for learning purpose for beginners so we have made this pattern of java folder for activities , XML folder for XML layout files, and screenshots for visualisation.

Also if additional dependencies that are needed, you can mention that in readme.

Regarding the existing folder, that was made in the beginning , but the structure we are following right now is java, XML, screenshot.

Hope you got it.

@its-snorlax
Copy link
Author

@team-dj , okay I will create the folders for a specific file. You also said about Kotlin files, I hope it is clear now.

@its-snorlax
Copy link
Author

@team-dj , any update on this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Make a app that uses retrofit library.
2 participants