-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
🛠[Setting] Compose 기본 세팅과 템플릿 제작 #1
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
넣을 때에는 squash해서 넣을텐데, 그 때 커밋명 티켓명에 맞게 설정해서 넣어주세요!
지금은 티켓이 없으니 적당히 적어서 넣어주세요
.../src/main/kotlin/ac/dnd/bookkeeping/android/presentation/common/bottomBar/BottomBarScreen.kt
Outdated
Show resolved
Hide resolved
} | ||
|
||
@Composable | ||
fun SplashScreen( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
오오, 스플래쉬 화면도 컴포즈로 처리가능하군요!
...on/src/main/kotlin/ac/dnd/bookkeeping/android/presentation/common/navigation/MainNavGraph.kt
Outdated
Show resolved
Hide resolved
presentation/src/main/kotlin/ac/dnd/bookkeeping/android/presentation/common/root/MainRoot.kt
Outdated
Show resolved
Hide resolved
presentation/src/main/kotlin/ac/dnd/bookkeeping/android/presentation/ui/main/theme/Color.kt
Show resolved
Hide resolved
presentation/src/main/kotlin/ac/dnd/bookkeeping/android/presentation/ui/main/theme/Theme.kt
Show resolved
Hide resolved
presentation/src/main/kotlin/ac/dnd/bookkeeping/android/presentation/common/root/MainRoot.kt
Outdated
Show resolved
Hide resolved
...main/kotlin/ac/dnd/bookkeeping/android/presentation/common/state/rememberApplicationState.kt
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
GOGO
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
GOGO
fun navigateToOnBoard( | ||
navController: NavHostController | ||
) { | ||
navController.navigate(LoginRootConstant.LOGIN_ONBOARD) { | ||
popUpTo(LoginRootConstant.LOGIN_MAIN) { | ||
inclusive = true | ||
} | ||
} | ||
} | ||
|
||
fun navigateToMain( | ||
navController: NavHostController, | ||
prevRoot: String | ||
) { | ||
navController.navigate(ScreenRootConstant.MAIN_SPLASH) { | ||
popUpTo(prevRoot) { | ||
inclusive = true | ||
} | ||
} | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
코드리딩도 할겸 이거 제가 한번 Screen 으로 빼볼게요.
구현 기능
특이사항