https://kotlinlang.org logo
#rx
Title
# rx
i

ivano

06/13/2019, 7:55 AM
In java is more syntactic sugarazied than in Kotlin?
g

gildor

06/13/2019, 8:00 AM
This is issue with SAM convention from Java code
Most of such use cases will be fixed with Kotlin new inference engine
for now we (and many other) use RxKotlin to mitigate this problem which provide Kotlin lambda extensions
i

ivano

06/13/2019, 8:21 AM
ah I get thank you very much Andrey
g

gildor

06/13/2019, 8:22 AM
More details

https://www.youtube.com/watch?v=MyljSWm0Y_k

i

ivano

06/13/2019, 8:23 AM
cool!
g

gildor

06/13/2019, 8:23 AM
Also see this issue and a lot of related ones https://youtrack.jetbrains.com/issue/KT-7770
241 issue that should be fixed in new inference %)
i

ivano

06/13/2019, 5:23 PM
Thanks again
2 Views