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

Isaac Udy

12/09/2019, 11:44 PM
I am having issues running Flows along side Jetpack Compose. If I "collectEach", the compiler will throw an IR exception. I know there was an incompatibility between coroutines and compose at one point in the past, but is this still the case?
r

Roar Gronmo

12/10/2019, 5:59 AM
Similar issue with Room and Compose...
i

itnoles

12/10/2019, 6:18 AM
Kapt incompatibility
k

kioba

12/10/2019, 8:28 AM
I believe the suggestion was to keep Compose and Room/Dagger in a different module
r

Roar Gronmo

12/10/2019, 9:55 AM
Will there be a solution for this incompatibility ?
z

Zach Klippenstein (he/him) [MOD]

12/10/2019, 1:07 PM
Yes, the IR compiler can't handled coroutines yet but it will have to eventually since it's going to replace the current compiler at some point.