tschuchort
07/23/2017, 8:59 PMgregd
07/24/2017, 7:42 AMflatMap
all subsequent requests would be made on the same thread (they can't be parallelized), as this would break Observable contract.peasee
07/24/2017, 8:37 AMmzgreen
07/24/2017, 8:39 AMsource
is a Subject then it can be something other than io
mzgreen
07/24/2017, 8:39 AMsubject.onNext
imopeasee
07/24/2017, 8:40 AMmzgreen
07/24/2017, 8:44 AMio
peasee
07/24/2017, 8:45 AMgregd
07/24/2017, 8:46 AMgregd
07/24/2017, 8:46 AMgregd
07/24/2017, 8:47 AMmzgreen
07/24/2017, 9:07 AMmzgreen
07/24/2017, 9:07 AMtschuchort
07/24/2017, 9:41 AMoperation()
and show()
would run on the same thread?mzgreen
07/24/2017, 9:42 AMoperation()
will run on io
thread and show()
on ui
thread.tschuchort
07/24/2017, 9:43 AMmap
in the original question of Joseph?mzgreen
07/24/2017, 9:44 AMsubscribeOn(IO)
and above observeOn(MainThread)
tschuchort
07/24/2017, 9:45 AMmzgreen
07/24/2017, 9:45 AMtschuchort
07/24/2017, 9:54 AMmzgreen
07/24/2017, 10:58 AMflatMap
and return a new observable which can also do onErrorResume..
. https://medium.com/@jagsaund/5-not-so-obvious-things-about-rxjava-c388bd19efbc look at point 4 in this post.gregd
07/24/2017, 4:42 PMgregd
07/24/2017, 8:14 PMgregd
07/24/2017, 8:16 PMgregd
07/24/2017, 8:16 PMgregd
07/24/2017, 8:17 PMgregd
07/24/2017, 8:18 PMgregd
07/24/2017, 8:18 PMtulio
07/24/2017, 8:19 PM