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()), API2.subscribeOn(Schedulers.io()), Bifunction())).subscribe()
Solution 1:
While loading the image from Glide, we should either call the .submit()
method or .into(...)
in order to successfully get the bitmap or load the image.
Post a Comment for "Get Bitmap From Url With Other Api Calls Parallelly Using Glide And Rxjava In Android"