Skip to content

Instantly share code, notes, and snippets.

@Morfly
Last active October 27, 2022 04:28
Show Gist options
  • Save Morfly/41c3746cd998b468b9445d1e9862e619 to your computer and use it in GitHub Desktop.
Save Morfly/41c3746cd998b468b9445d1e9862e619 to your computer and use it in GitHub Desktop.
import androidx.navigation.compose.composable
import androidx.navigation.navigation
class MovieDetailsEntryImpl @Inject constructor() : MovieDetailsEntry() {
override fun NavGraphBuilder.navigation(
navController: NavHostController,
destinations: Destinations
) {
navigation(startDestination = destination(), route = "@ignored") {
composable(route = featureRoute, arguments) { ... }
composable(route = "credits/{movieId}") { ... }
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment