How should Compose elements that have injection wo...
# koin
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
193 Views