I\'m going a little crazy here. I\'m trying to create an Observable
extension function (against RxJava 2.x) to emit the average of the emissio
If type inferencing is the problem, one thing you can do is use RxKotlin
implementation "io.reactivex.rxjava2:rxkotlin:$rxKotlinVersion"
RxKotlin specifically provides SAM helpers to help mitigate the issues with type inferencing issues.
In which case,
Singles.zip(..., ...)
would be able to work just fine without any ambiguity. Notice I am using Singles
and not Single