Join Slack
Communities
Powered by
why does line 6 get called multiple times? <https:...
# rx
o
oday
05/08/2018, 11:07 AM
why does line 6 get called multiple times?
https://pastebin.com/tz0gkZrg
l
leolima
05/08/2018, 12:04 PM
Are you using Room? Any updates to the tables will trigger an onNext call when using a Flowable.
leolima
05/08/2018, 12:04 PM
You might want to use Single if you want to receive only one result.
leolima
05/08/2018, 12:04 PM
This article might help you:
https://medium.com/google-developers/room-rxjava-acb0cd4f3757
leolima
05/08/2018, 12:05 PM
It explains the behaviour when using a Flowable, Single and Maybe.
o
oday
05/08/2018, 12:06 PM
hm, true
oday
05/08/2018, 12:06 PM
let me try I will get back to you
Open in Slack
Previous
Next