Hey, i was wondering about the GetStarted section for KoinAndroidCompose, the sample code does not mention KoinContext, but i learned that you should use KoinContext() or KoinAndroidContext(). Is this just a little leftover todo to update the samples or is there any other reason why? My current understanding is, I can do something like this and be fine with it?
Copy code
@Composable
fun App() {
// Set current Koin instance to Compose context
KoinAndroidContext() {
AppTheme{
NavHost(...){
....
}
}
}
}
p
Pedro Francisco de Sousa Neto
10/06/2023, 11:03 AM
Are you suggesting to adjust docs? If yes, I can provide this.