https://kotlinlang.org logo
Title
a

Alexjok

11/13/2019, 12:08 PM
Hello! I have a problem with simple flow sample:
flowOf(1,2,3).collect { value -> println(value)  }
It doesn't compile cause: Type mismatch: Required: FlowCollector<Int> found (Nothing) -> Unit What i doing wrong?
a

Alexjok

11/13/2019, 1:18 PM
yeah, that was some kind of import mistake) Thx