-
Notifications
You must be signed in to change notification settings - Fork 138
Open
Description
In which task and step of the codelab can this issue be found?
Task 4, Step 6
Describe the problem
The code snippet in the step is missing the import of the ComposeNavigator()
import androidx.compose.ui.platform.LocalContext
fun setupCupcakeNavHost() {
composeTestRule.setContent {
navController = TestNavHostController(LocalContext.current).apply {
navigatorProvider.addNavigator(ComposeNavigator())
}
CupcakeApp(navController = navController)
}
}Steps to reproduce?
Copy the code snippet above into IDE and notice that ComposeNavigator() can't be resolved.
alarimer
Metadata
Metadata
Assignees
Labels
No labels