Slide 8
Slide 8 text
▶ NewThread : As the name suggests, it spawns a new thread for
each active observable. This can be used to offload time
consuming operation from main thread onto other thread.
observable.subscribeOn(Schedulers.newThread());
▶ Trampoline : This scheduler runs the code on current thread. So
if you have a code running on the main thread, this scheduler
will add the code block on the queue of main thread.
observable.subscribeOn(Schedulers.trampoline())
Schedulers