Keeping working on navigation I got stunned with a...
# multiplatform
p
Keeping working on navigation I got stunned with a problem. I use this sample as an example: https://github.com/razaghimahdi/Shopping-By-KMP/blob/fe055734130d24461c6340f104666a083f7413a1/shared/src/commonMain/kotlin/presentation/App.kt#L55 Well, the problem is the following. I'm trying to 'declare a navigation host', and as far as I know, when I do I need to pass as parametres navController (OK), the navigation graph (where is it in the code sample?) and startDestination --- the destination my app starts at. Well, when I try to set startDestination I get an error of some kind (no such parameter?), and one more, stating that I need to pass navigation 'graph' as a parameter too. I'm certainly doing something wrong but what exactly? Hoping for any of your feedback, Regards, Paul S.