I have struggled with `Observable.combineLatest` R...
# rx
d
I have struggled with
Observable.combineLatest
RxJava2. I could not even compile simple example like this
Copy code
val obs1 = Observable.just(true)
val obs2 = Observable.just(false)
Observable.combineLatest(obs1, obs2, { t1, t2 -> t1 and t2 })//compile error
I had to explicitly tell what kind of combiner function that is
Copy code
val obs1 = Observable.just(true)
val obs2 = Observable.just(false)
Observable.combineLatest(obs1, obs2, BiFunction<Boolean, Boolean, Boolean> { t1, t2 -> t1 and t2 })
In case JavaRx1 it was inferred properly based on observables I was passing in. Does anyone know why it has changed?