Does anyone have Room working with Jetpack Compose...
# compose
a
Does anyone have Room working with Jetpack Compose? The project compiles fine but when I try to run I get
java.lang.NoSuchMethodError:GenerationState$Builder.isIrBackend(Z)Lorg/
. I thought I saw a bug fix in the latest Android Studio release notes but I am still getting the error. Could someone please point me to a GitHub or other example where it is working? This a show stopper for us :- ( Thanks really appreciate everyone's help :- )
m
AFAIK the limitations outlined in https://kotlinlang.slack.com/archives/CJLTWPH7S/p1575378726256800 are still relevant
a
Bummers ... I will look for the Android Studio release notes that addressed this ... I must have misread them.
@Mark Murphy Thanks for the info. I guess I looked at the wrong note because it is clearly still an issue ... https://youtrack.jetbrains.com/issue/KT-34583 Thanks!
👍 1
d
Maybe using Room in a different module than compose works
a
On Jan 9th they said they will fix it .... hopefully soon.
t
+1 to what @danieldisu said. I'm keeping all Compose related code in a separate library module so that its isolated.
a
@Tash true but it sounds like an easy fix for them ... and I can not change our module structure unless the whole team agrees 😞https://youtrack.jetbrains.com/issue/KT-34583#focus=streamItem-27-3893145.0-0