LIFO (Last In First Out) 구조
참고한 링크 (출처)
Android Navigation Component 개념과 튜토리얼 - 1
buildscript {
repositories {
google()
mavenCentral()
}
dependencies {
classpath "com.android.tools.build:gradle:4.2.2"
def nav_version = "2.3.5"
classpath "androidx.navigation:navigation-safe-args-gradle-plugin:$nav_version"
}
}
plugins {
id 'com.android.application'
id 'androidx.navigation.safeargs'
}
...
dependencies {
...
def nav_version = "2.3.5"
// Java language implementation
implementation "androidx.navigation:navigation-fragment:$nav_version"
implementation "androidx.navigation:navigation-ui:$nav_version"
// Jetpack Compose Integration
implementation "androidx.navigation:navigation-compose:$nav_version"
// Feature module Support
implementation "androidx.navigation:navigation-dynamic-features-fragment:$nav_version"
// Testing Navigation
androidTestImplementation "androidx.navigation:navigation-testing:$nav_version"
}
// Jetpack Compose Integration
implementation "androidx.navigation:navigation-compose:$nav_version"
어째서인지 얘를 데리고 애뮬레이터를 실행하니 얘를 해결하라는 문구와 함께 되지 않는다.
주석처리 해주니 원하는대로 작동은 한다..