|
|
|
@ -41,6 +41,7 @@ import com.google.samples.apps.nowinandroid.feature.topic.navigation.topicScreen
|
|
|
|
|
import kotlinx.serialization.Serializable
|
|
|
|
|
|
|
|
|
|
@Serializable object TopicPlaceholderDestination
|
|
|
|
|
|
|
|
|
|
@Serializable object DetailPaneNavHostDestination
|
|
|
|
|
|
|
|
|
|
fun NavGraphBuilder.interestsListDetailScreen() {
|
|
|
|
@ -92,7 +93,7 @@ internal fun InterestsListDetailScreen(
|
|
|
|
|
NavHost(
|
|
|
|
|
navController = nestedNavController,
|
|
|
|
|
startDestination = TopicPlaceholderDestination::class,
|
|
|
|
|
route = DetailPaneNavHostDestination::class
|
|
|
|
|
route = DetailPaneNavHostDestination::class,
|
|
|
|
|
) {
|
|
|
|
|
topicScreen(
|
|
|
|
|
showBackButton = !listDetailNavigator.isListPaneVisible(),
|
|
|
|
|