Development environment for Android Jetpack extension libraries under the androidx namespace. Synchronized with Android Jetpack's primary development branch on AOSP.
Navigation 3 is a new navigation library designed to work with Compose.
To add a dependency on navigation3, you must add the Google Maven repository to your project. Read Google's Maven repository for more information.
Add the dependencies for the artifacts you need in the build.gradle file for your app or module:
dependencies {
implementation("androidx.navigation3:navigation3-runtime:1.1.0-alpha02")
implementation("androidx.navigation3:navigation3-ui:1.1.0-alpha02")
}
dependencies {
implementation "androidx.navigation3:navigation3-runtime:1.1.0-alpha02"
implementation "androidx.navigation3:navigation3-ui:1.1.0-alpha02"
}
For more information about dependencies, see Add build dependencies.
Navigation 3 is a new navigation library designed to work with Compose.
To add a dependency on navigation3, you must add the Google Maven repository to your project. Read Google's Maven repository for more information.
Add the dependencies for the artifacts you need in the build.gradle file for your app or module:
dependencies {
implementation("androidx.navigation3:navigation3-runtime:1.1.0-alpha02")
implementation("androidx.navigation3:navigation3-ui:1.1.0-alpha02")
}
dependencies {
implementation "androidx.navigation3:navigation3-runtime:1.1.0-alpha02"
implementation "androidx.navigation3:navigation3-ui:1.1.0-alpha02"
}
For more information about dependencies, see Add build dependencies.