jimn
12/05/2019, 4:39 PMdiesieben07
12/05/2019, 4:40 PMflow1.zip(flow2) { a, b -> value }
?jimn
12/05/2019, 4:49 PMdiesieben07
12/05/2019, 4:51 PMzip
or combine
, depending on your needs.jimn
12/05/2019, 4:53 PMError:(333, 48) Kotlin: Cannot choose among the following candidates without completing type inference:
public operator fun <T> Array<Any?>.plus(element: Any?): Array<Any?> defined in kotlin.collections
public operator fun <T> Array<Any?>.plus(elements: Array<out Any?>): Array<Any?> defined in kotlin.collections
diesieben07
12/05/2019, 4:58 PMa
and b
explicitly to help the compiler herejimn
12/05/2019, 5:01 PMalllex
12/05/2019, 7:34 PMplus
implementations you need. In this case it is a.plus(elements = b)
jimn
12/05/2019, 11:25 PM