INNER CODE UNIT · Kotlin

WearDestinationScope

raamcosta/compose-destinations · compose-destinations-wear/src/main/java/com/ramcosta/composedestinations/wear/WearNavHostEngine.kt:141

    internal class WearDestinationScope<T>(
        override val destination: TypedDestinationSpec<T>,
        override val navBackStackEntry: NavBackStackEntry,
        override val navController: NavController,
        override val dependenciesContainerBuilder: @Composable DependenciesContainerBuilder<*>.() -> Unit,
    ) : DestinationScopeImpl<T>()

    @Composable
    private fun <T> CallComposable(
        destination: TypedDestinationSpec<T>,
        navController: NavHostController,
        navBackStackEntry: NavBackStackEntry,
        dependenciesContainerBuilder: @Composable DependenciesContainerBuilder<*>.() -> Unit,
        contentWrapper: DestinationLambda<T>?
    ) {
        val scope = remember(destination, navBackStackEntry, navController, dependenciesContainerBuilder) {
            WearDestinationScope(
                destination,

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…