본문 바로가기 메뉴 바로가기

Big Nerd Ranch

프로필사진
  • 글쓰기
  • 관리
  • 태그
  • 방명록
  • RSS

Big Nerd Ranch

검색하기 폼
  • 분류 전체보기 (29)
    • Object Oriented Programming (4)
      • Design Patterns (0)
      • Refactoring (2)
      • Coding Practice 101 (2)
    • Android (15)
      • Litho (7)
      • Architecture Component (1)
      • Jetpack Compose (0)
    • Java (1)
    • Kotlin (7)
      • Coroutines (3)
      • Coroutine Context and Dispa.. (0)
      • Flow (1)
      • Kotlin Multipltaform (0)
    • VueJs (0)
    • Haskell (0)
    • Projects (0)
    • CICD (2)
      • Docker (0)
  • 방명록

Android/Architecture Component (1)
Navigation Component + SplashScreen

Navigation Component를 사용하면서 접하게 되는 Usecase는 Splash Screen이다. 왜냐하면 Splash Screen은 앱이 실행될 때 제일 먼저 떴다가 사라져야 하고, 백스택에서 제거되어야 하기 때문이다. 네비게이션 그래프를 보자. 아래와 같이 두개의 SplashFragment와 MainFragment가 존재하고 SplashFragment가 시작 Fragment이다. 아래는 SplashFragment 클래스이다. 3초 후에 MainFragment로 이동한다. class SplashFragment : Fragment() { override fun onCreateView(inflater: LayoutInflater, container: ViewGroup?, savedInstance..

Android/Architecture Component 2019. 12. 8. 21:30
이전 1 다음
이전 다음
공지사항
최근에 올라온 글
최근에 달린 댓글
Total
Today
Yesterday
링크
TAG
  • Android
  • SSL
  • kotlin
  • security
  • coroutines
  • litho
more
«   2025/06   »
일 월 화 수 목 금 토
1 2 3 4 5 6 7
8 9 10 11 12 13 14
15 16 17 18 19 20 21
22 23 24 25 26 27 28
29 30
글 보관함

Blog is powered by Tistory / Designed by Tistory

티스토리툴바