Check out example codes for "HTTP FAILED: java.io.InterruptedIOException: interrupted". It will help you in understanding the concepts better.

Code Example 1

RxJavaCallAdapterFactory.createWithScheduler(Schedulers.io())

Learn ReactJs, React Native from akashmittal.com