From f91ec363b5f13980769ffcbd83f2c88544652e1c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E1=84=8C=E1=85=A5=E1=86=BC=E1=84=89=E1=85=B3=E1=86=BC?= =?UTF-8?q?=E1=84=92=E1=85=AE=E1=86=AB?= Date: Mon, 15 Jan 2024 13:58:54 +0900 Subject: [PATCH] feat :: MainNavigation --- .../java/team/retum/jobisandroidv2/JobisApp.kt | 4 ++-- .../jobisandroidv2/navigation/MainNavigation.kt | 15 +++++++++++++++ 2 files changed, 17 insertions(+), 2 deletions(-) create mode 100644 app/src/main/java/team/retum/jobisandroidv2/navigation/MainNavigation.kt diff --git a/app/src/main/java/team/retum/jobisandroidv2/JobisApp.kt b/app/src/main/java/team/retum/jobisandroidv2/JobisApp.kt index 0e57d6f40..30b83616d 100644 --- a/app/src/main/java/team/retum/jobisandroidv2/JobisApp.kt +++ b/app/src/main/java/team/retum/jobisandroidv2/JobisApp.kt @@ -5,7 +5,7 @@ import androidx.navigation.compose.NavHost import androidx.navigation.compose.rememberNavController import team.retum.jobisandroidv2.navigation.NAVIGATION_AUTH import team.retum.jobisandroidv2.navigation.authNavigation -import team.retum.jobisandroidv2.navigation.homeNavigation +import team.retum.jobisandroidv2.navigation.mainNavigation @Composable internal fun JobisApp() { @@ -15,6 +15,6 @@ internal fun JobisApp() { startDestination = NAVIGATION_AUTH, ) { authNavigation() - homeNavigation() + mainNavigation() } } diff --git a/app/src/main/java/team/retum/jobisandroidv2/navigation/MainNavigation.kt b/app/src/main/java/team/retum/jobisandroidv2/navigation/MainNavigation.kt new file mode 100644 index 000000000..3507b6704 --- /dev/null +++ b/app/src/main/java/team/retum/jobisandroidv2/navigation/MainNavigation.kt @@ -0,0 +1,15 @@ +package team.retum.jobisandroidv2.navigation + +import androidx.navigation.NavGraphBuilder +import androidx.navigation.navigation + +const val NAVIGATION_MAIN = "main" + +fun NavGraphBuilder.mainNavigation(){ + navigation( + route = NAVIGATION_MAIN, + startDestination = "", + ){ + // TODO main 관련 스크린 위치 + } +}