Paul Stern
09/19/2024, 11:17 AMimport org.koin.compose.koinInject
import presentation.navigation.SplashNavigation
import presentation.ui.splash.view_model.LoginViewModel
@Composable
internal fun SplashNav(viewModel: LoginViewModel = koinInject(), navigateToMain: () -> Unit) {
koinInject() (https://github.com/razaghimahdi/Shopping-By-KMP/blob/fe055734130d24461c6340f104666[…]hared/src/commonMain/kotlin/presentation/ui/splash/SplashNav.kt)
I've heard something about it, but haven't tried yet. So is there any easy way to avoid using koin and use something more simple and straightforward? I just fear of falling into dependency hell 😃
Any help appreciated.François
09/19/2024, 11:25 AMPaul Stern
09/19/2024, 11:27 AMFrançois
09/19/2024, 11:28 AMPaul Stern
09/19/2024, 2:43 PMPaul Stern
09/19/2024, 3:25 PM