Systers, an AnitaB.org community
Make a custom retrofit call adapter (Mentorship - Android)
Prerequisite:
- Fork and clone the project from the github repository
- Follow the documentation for successfully setting up the project
- Open Project in Android Studio
Steps:
- Whenever we make a remote API call eg here we are using 3 methods
onComplete()
,onNext(...)
andonError (...)
- While the first methods are different everywhere, the last one
onError (...)
is the same everywhere. - To solve this make and use a custom retrofit call adapter
Note - Check the blog whose link has been provided below.
Resources:
- If you need help or get lost, post a response to our questions topic in our #gci stream.
- API Documentation
Work Submission:
After successfully fixing this issue, commit and make a Pull Request. Title of PR should contain "Program:GCI"
- Commit Message Style Guide
- Sample PR structure
- Make sure to attach either screenshot or GIF of the fixed issue
Task tags
Students who completed this task
_daksha_, BartekPacia, i_maier, HardikJH