Top "Rx-java2" questions

anything related to RxJava2 – The new implementation of the RxJava Reactive Extensions for the JVM – a library for composing asynchronous and event-based programs using observable sequences for the Java VM.

Reactive Programming Advantages/Disadvantages

I keep studying and trying Reactive Style of coding using Reactor and RxJava. I do understand that reactive coding makes …

java reactive-programming microservices rx-java2 project-reactor
How to use "if-else" in RX java chain?

I am a newer on RXJava/RXAndroid. I want to implement this case: chose different way based on some condition …

java android rx-java rx-android rx-java2
When to call dispose and clear on CompositeDisposable

My question can be a duplicate of How to use CompositeDisposable of RxJava 2? But asking to clear one more doubt. …

android rx-java2
RxAndroid and Retrofit: Unable to create call adapter for io.reactivex.Observable<retrofit2.Response<okhttp3.ResponseBody>>

I am trying use rxJava, rxAndroid, Retrofit2, and OkHTTP3 to download a file from a URL endpoint. My code is …

java android rx-java retrofit2 rx-java2
How to pass null to an Observable with nullable type in RxJava 2 and Kotlin

I initialize my variable like this:- val user: BehaviorSubject<User?> user = BehaviorSubject.create() But I can't do …

android kotlin rx-java rx-java2 rx-kotlin
The mapper function returned a null value

I set same build types for debug and release, buildTypes { debug { buildConfigField "String", "API_BASE_URL", "\"https://www.testUrl.com/…

java android rx-java retrofit2 rx-java2
Cannot resolve symbol InstantTaskExecutorRule

I open example code BasicRxJavaSample (from this article Room+RxJava) The main thing is there: @Rule public InstantTaskExecutorRule instantTaskExecutorRule = new …

android unit-testing junit4 rx-java2
Best way to repeat an observable every minute rxjava

I have the following method: public class ParentalControlInteractor { public Single<Boolean> isPinSet() { return bamSdk.getPinManager().isPINSet(); } } I want …

android rx-java2 repeat
RxJava Single.just() vs Single.fromCallable()?

I wondered if someone can shed some light on this question, when to use Single.fromCallable( ()-> myObject ) instead …

java android rx-java2
Retrofit 2 + RxJava cancel/unsubscribe

I am performing a network request where I send files and a message. I would like to have an option …

android retrofit2 rx-java2