, and I have another for settings .. now I want the player relay to only
skipUntil
the settings emit an enable sound item.
from docs
skipUntil
only waits for an Observable to emit at least an item. but what if need to check on that item too, should I use something else or there is something missing
m
Matej Drobnič
06/16/2019, 7:41 PM
Just filter the second observable
Matej Drobnič
06/16/2019, 7:42 PM
e.g.
a.skipUntil(b.filter { //Check for wanted items })
m
Mohamed Ibrahim
06/16/2019, 10:43 PM
I did that but does this work with the tow observables changes, I mean I did that but it seems that the predicate evaluated only the first time.