Sterling Albury
01/23/2023, 3:04 AMCompositionLocal Local* not present
errors. First it was LocalDensity not present, so I added `
CompositionLocalProvider(
LocalDensity provides Density(1.0f),
then it was LocalViewConfiguration
, so I provided something, and now it's LocalFontFamilyResolver
not present. Definitely not feeling right. anyone have any insight into why this might be happening? I'm thinking it's probably because I'm not using compose.web.dom composables everywhere but my shared kmm composeable lib seems to be ok with things like compose.material
in the common deps so I would think I would be able to use these without too many issuesSterling Albury
01/23/2023, 4:32 AMInvalid applier
error...not sure what that is yetOleksandr Karpovich [JB]
01/23/2023, 7:42 PMcompose.material
?
Invalid applier
this error means that you use the composable of different nature within the same Composition (html based with those in material for example). It’s not allowed.
I think if you configure and setup the project like you saw in experimental examples, then those Local* should be initialised out of a box.Sterling Albury
01/23/2023, 8:33 PMInvalid applier
error was indeed from mixing html with material, so was able to clear that up quickly.
thanks for confirming that I can't mix these composables.