Is there a solution to diamond problem in combineL...
# rx
u
Is there a solution to diamond problem in combineLatest in rxjava? (when source observables of the combineLatest are driven by common observable -- you get unexpected results since first source will emit first, therefore paired with previous value of second source)
r
If your sources both emit exactly once for each emission of the common upstream, you can use
zip
instead of
combineLatest
u
yea unfortunately zip wont do
ive posted the use case in chanell
a
CombineLatest alone is not going to work. Consider using switchMap
u
yea but neither will switchmap because reasons, but thanks