Skip to content
This repository has been archived by the owner on Dec 13, 2022. It is now read-only.

Use fetchApiSingleton to fetch data from Projects API #358

Closed
starboi02 opened this issue Oct 20, 2021 · 3 comments · Fixed by #367
Closed

Use fetchApiSingleton to fetch data from Projects API #358

starboi02 opened this issue Oct 20, 2021 · 3 comments · Fixed by #367

Comments

@starboi02
Copy link
Collaborator

Issue Description

  • In the MainActivity create a method named getProjectData to use the fetchApiSingleton instance for fetching data from the API https://raw.githubusercontent.com/opencodeiiita/Collaborative-Web/main/data/projects.json.
  • Create a toast for the error response.
  • Create an ArrayList of the Project object from the json response.
  • Make getProjectData() return ArrayList<Project>.

Note

@raghavgoel25
Copy link
Contributor

claim

@starboi02
Copy link
Collaborator Author

@raghavgoel25 what's the progress? It has been 3 days.

@raghavgoel25
Copy link
Contributor

I'll be making a PR soon sir.

@starboi02 starboi02 linked a pull request Oct 23, 2021 that will close this issue
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants