It was my understanding that rxjava-android performs operations on a separate thread (when provided the correct Scheduler), leading to non-blocking operations, however a qui
The mistake is that you use the wrong Observable
. The correct code should be:
Observable observable = Observable.create(new Observable.OnSubscribe
Both subscribeOn
and observeOn
return a new Observable which implements their functions. But the original Observable is not modified. Actually, every operator will always create a new Observable without modifying the original one.