Skip to content

Commit

Permalink
feat :: MainNavigation
Browse files Browse the repository at this point in the history
  • Loading branch information
Tmdhoon2 committed Jan 15, 2024
1 parent 929360e commit f91ec36
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/src/main/java/team/retum/jobisandroidv2/JobisApp.kt
Original file line number Diff line number Diff line change
Expand Up @@ -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() {
Expand All @@ -15,6 +15,6 @@ internal fun JobisApp() {
startDestination = NAVIGATION_AUTH,
) {
authNavigation()
homeNavigation()
mainNavigation()
}
}
Original file line number Diff line number Diff line change
@@ -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 관련 스크린 위치
}
}

0 comments on commit f91ec36

Please sign in to comment.