Jakub Valigura
10/25/2019, 12:54 PMkioba
10/25/2019, 2:11 PMbuildFeatures {
compose = true
}
kioba
10/25/2019, 2:11 PMJakub Valigura
10/25/2019, 2:19 PMjim
10/25/2019, 3:38 PMcompose = true
only for the module containing Compose widgets.
The issue is that enabling Compose on a module requires enabling Kotlin's new/experimental backend IR, but the new backend is still being built and doesn't yet support all of Kotlin (especially the more advanced features). Minimizing the amount of code you run through the new backend will minimize the likelihood you encounter a bug. Your composable functions must be run with compose = true
or they will have subtle behavior bugs resulting in unexpected/undefined results.Jakub Valigura
10/25/2019, 3:48 PMkioba
10/25/2019, 4:47 PM