Skip to content

Instantly share code, notes, and snippets.

View m-toshpulatov's full-sized avatar

Muhammadjon Toshpulatov m-toshpulatov

  • Halifax, NS, Canada
View GitHub Profile
@julianfalcionelli
julianfalcionelli / RxErrorHandlingCallAdapterFactory.java
Last active June 21, 2022 08:55
Rx Error Handling for Retrofit2
import java.io.IOException;
import java.lang.annotation.Annotation;
import java.lang.reflect.Type;
import io.reactivex.Completable;
import io.reactivex.Observable;
import io.reactivex.ObservableSource;
import io.reactivex.Single;
import io.reactivex.SingleSource;
import io.reactivex.annotations.NonNull;