safe args android navigation java 8 code example
Example: android safe args dependency
//In top level gradle
buildscript {
repositories {
google()
}
dependencies {
def nav_version = "2.3.1"
classpath "androidx.navigation:navigation-safe-args-gradle-plugin:$nav_version"
}
}
//In app level gradle
apply plugin: "androidx.navigation.safeargs.kotlin"