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 Mentors API #361

Closed
starboi02 opened this issue Oct 21, 2021 · 1 comment · Fixed by #365
Closed

Use fetchApiSingleton to fetch data from Mentors API #361

starboi02 opened this issue Oct 21, 2021 · 1 comment · Fixed by #365

Comments

@starboi02
Copy link
Collaborator

Issue Description

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

Note

@shashwat-mittal
Copy link
Contributor

claim

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