Skip to content

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

Open
its-snorlax wants to merge 2 commits into
VBSquad:masterfrom
its-snorlax:main
Open

Simple demo to fetch data from rest endpoint using retrofit.#123
its-snorlax wants to merge 2 commits into
VBSquad:masterfrom
its-snorlax:main

Conversation

@its-snorlax

Copy link
Copy Markdown

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
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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