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

Implement API Fetch Callback Listener #344

Closed
VarunT11 opened this issue Oct 16, 2021 · 9 comments · Fixed by #354
Closed

Implement API Fetch Callback Listener #344

VarunT11 opened this issue Oct 16, 2021 · 9 comments · Fixed by #354

Comments

@VarunT11
Copy link
Contributor

Issue Description

The FetchApiSingleton Class fetches the required JSON Object from the Internet but does not return it to the called method. This issue aims to return the result JSON Object back to the Called Method.

  • Inside the FetchApiSingleton class, implement a Callback Listener method using Interface.
  • This void Callback method should have JSONObject as a Parameter.
  • This method should be called from the onJsonObjectFetch method.
  • Test for the working of this callback method by implementing it in the MainActivity and attach screenshots of the same. Note that you should receive a JSONObject in the MainActivity. Once tested, remove the changes in the MainActivity.

Note

@Ksathwik03
Copy link
Contributor

Claim

@VarunT11
Copy link
Contributor Author

VarunT11 commented Oct 16, 2021

@Ksathwik03 You have not completed all the required 3 issues. Please complete it before claiming other issues in this repo.

@Ksathwik03
Copy link
Contributor

@Ksathwik03 You have not completed all the required 3 issues. Please complete it before claiming other issues in this repo.

Sure sir will be completing them now 👍🏻.

@shashwat-mittal
Copy link
Contributor

Claim

1 similar comment
@rohanbabbar04
Copy link
Contributor

Claim

@VarunT11
Copy link
Contributor Author

@shashwat-mittal The issue has been assigned to you!

@Ksathwik03
Copy link
Contributor

@Ksathwik03 You have not completed all the required 3 issues. Please complete it before claiming other issues in this repo.

Sir i made prs for all the issues.

@starboi02
Copy link
Collaborator

@shashwat-mittal what's the status?

@shashwat-mittal
Copy link
Contributor

@shashwat-mittal what's the status?

Sir i am trying to do it.. Finding it a bit difficult..

@VarunT11 VarunT11 linked a pull request Oct 19, 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.

5 participants