How should Compose elements that have injection work with `@Preview` annotation? For me it gives `ja...
a
How should Compose elements that have injection work with
@Preview
annotation? For me it gives
java.lang.IllegalStateException: KoinApplication has not been started
because application isnโ€™t started during
compose preview
๐Ÿค”
j
I think you should use fakes with Preview
๐Ÿ‘ 1
p
unwrap and extract ui content, without deps, to separate
@Composable
function and make a preview of it
๐Ÿ‘ 3
192 Views