Back to Browse

The Navigation Component Tutorial in Android Studio (Kotlin)

6.5K views
Aug 28, 2020
18:49

In this video I'll be showing you the basics on how to use this navigation component You can copy the dependencies down below: ················ //navigation plugin apply plugin: "androidx.navigation.safeargs.kotlin" ················ // Add compile options compileOptions { sourceCompatibility JavaVersion.VERSION_1_8 targetCompatibility JavaVersion.VERSION_1_8 } kotlinOptions { jvmTarget = JavaVersion.VERSION_1_8.toString() } ················  // Dependency def nav_version = "2.3.0" ················ // Navigation Components implementation "androidx.navigation:navigation-fragment-ktx:$nav_version" implementation "androidx.navigation:navigation-ui-ktx:$nav_version" ················ // add this for safe-args def nav_version = "2.3.0" classpath "androidx.navigation:navigation-safe-args-gradle-plugin:$nav_version" ················ ​​​​

Download

1 formats

Video Formats

360pmp425.3 MB

Right-click 'Download' and select 'Save Link As' if the file opens in a new tab.

The Navigation Component Tutorial in Android Studio (Kotlin) | NatokHD