Freelance Android Software Developer
See more
One of the most frequent misconceptions is that observeOn also acts upstream, but really it acts only downstream - things that happen after the observeOn call - unlike subscribeOn.
observeOn
subscribeOn
This method simply changes the thread of all operators further downstream (in the calls that come after). Let’s assume code is run from a UI thread:
This only influences the thread that is used when the Observable is subscribed to and it will stay on it downstream.
Observable