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 Participants API #360

Closed
starboi02 opened this issue Oct 21, 2021 · 0 comments
Closed

Use fetchApiSingleton to fetch data from Participants API #360

starboi02 opened this issue Oct 21, 2021 · 0 comments

Comments

@starboi02
Copy link
Collaborator

Issue Description

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

Note

@starboi02 starboi02 changed the title Use fetchApiSingleton to fetch data from Participant API Use fetchApiSingleton to fetch data from Participants API Oct 21, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant