Skip to content Skip to sidebar Skip to footer
Showing posts with the label Rx Android

How To Pass Custom Pojo As Parameter To The Interface Method Call In Rxjava2 Observable?

Current code Observable.from(listMovie)//list of movie .flatMap(new Func1 >() { … Read more How To Pass Custom Pojo As Parameter To The Interface Method Call In Rxjava2 Observable?

Android: Unable To Handle Unknownhostexception [with Retrofit 2, Okhttp3, Rxandroid 2]

I've got an Android app which has been in production for some time. I've received a fatal r… Read more Android: Unable To Handle Unknownhostexception [with Retrofit 2, Okhttp3, Rxandroid 2]

Why Is Oncomplete Not Called In This Code? (rxandroid)

I know OnComplete of a Observer is called when all the items are emitted. In the below code, I am p… Read more Why Is Oncomplete Not Called In This Code? (rxandroid)

Uploading Multiple Image To Aws Server Using Rxjava

I am trying to upload multiple image to ASW using rxJava. I have found a kotlin example. Upload mul… Read more Uploading Multiple Image To Aws Server Using Rxjava

Android Rxjava With Okhttp - Networkonmainthreadexception

I sometimes get exception - android.os.NetworkOnMainThreadException, sometimes code works. Here is… Read more Android Rxjava With Okhttp - Networkonmainthreadexception

Rxjava: How To Handle Combinelatest() When One Of The Streams Emits Nothing

I use combineLatest() to combine 3 streams of observables. All these are combined so that all data … Read more Rxjava: How To Handle Combinelatest() When One Of The Streams Emits Nothing

How To Add Retrywhen() For Limited Time (eg 3 Time Retries Only) Getting Ioexception

I am fetching response from server using 3 web API calls, but in case of getting IOException i have… Read more How To Add Retrywhen() For Limited Time (eg 3 Time Retries Only) Getting Ioexception

Get Bitmap From Url With Other Api Calls Parallelly Using Glide And Rxjava In Android

I am making two API calls parallel in the following way. Single.zip(API1.subscribeOn(Schedulers.io(… Read more Get Bitmap From Url With Other Api Calls Parallelly Using Glide And Rxjava In Android