Systers, an AnitaB.org community

Make a custom retrofit call adapter (Mentorship - Android)

Prerequisite:

  1. Fork and clone the project from the github repository
  2. Follow the documentation for successfully setting up the project
  3. Open Project in Android Studio

Steps:

  1. Whenever we make a remote API call eg here we are using 3 methods onComplete(), onNext(...) and onError (...)
  2. While the first methods are different everywhere, the last one onError (...) is the same everywhere.
  3. To solve this make and use a custom retrofit call adapter

Note - Check the blog whose link has been provided below.

Resources:

Work Submission:

After successfully fixing this issue, commit and make a Pull Request. Title of PR should contain "Program:GCI"

  1. Commit Message Style Guide
  2. Sample PR structure
  3. Make sure to attach either screenshot or GIF of the fixed issue

Task tags

  • rxjava
  • kotlin
  • android
  • retrofit

Students who completed this task

_daksha_, BartekPacia, i_maier, HardikJH

Task type

  • code Code
  • done_all Quality Assurance
close

2019