https://kotlinlang.org logo
#android
Title
# android
j

jeff

03/15/2020, 10:15 PM
Is there a standard/recommended way that I can write, for example,
Copy code
Observable.zip(obsA, obsB) { a, b -> a + b }
instead of
Copy code
Observable.zip(
        obsA,
        obsB,
        BiFunction { a, b -> a + b }
)
? I know how to write
Copy code
SomethingCustom.zip(obsA, obsB) { a, b -> a + b }
but I'm asking if there's a best practice or well-known library or something
f

Frank Harper

03/16/2020, 12:22 AM
This should solve your problem: https://github.com/ReactiveX/RxKotlin
👍 1
j

jeff

03/16/2020, 1:38 PM
Perfect! Just what I was looking for. Ty!