(#) androidx.navigation:navigation-compose Name : Compose Navigation Description : Compose integration with Navigation License : [The Apache Software License, Version 2.0](http://www.apache.org/licenses/LICENSE-2.0.txt) Vendor : Jetpack Navigation Compose Identifier : androidx.navigation.compose Min : Lint 8.0 and 8.1 Compiled : Lint 8.7+ Artifact : androidx.navigation:navigation-compose:2.9.0-alpha04 (##) Included Issues |Issue Id |Issue Description | |----------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| |[ComposableDestinationInComposeScope](ComposableDestinationInComposeScope.md.html)|Building composable destination in compose scope | |[ComposableNavGraphInComposeScope](ComposableNavGraphInComposeScope.md.html) |Building navigation graph in compose scope | |[UnrememberedGetBackStackEntry](UnrememberedGetBackStackEntry.md.html) |Calling getBackStackEntry during composition without using `remember`with a NavBackStackEntry key | |[WrongStartDestinationType](WrongStartDestinationType.md.html) |If the startDestination points to a Class with arguments, the startDestination must be an instance of that class. If it points to a Class without arguments, startDestination can be a KClass literal, such as StartClass::class.| |[MissingKeepAnnotation](MissingKeepAnnotation.md.html) |In minified builds, Enum classes used as type-safe Navigation arguments should be annotated with @androidx.annotation.Keep | |[MissingSerializableAnnotation](MissingSerializableAnnotation.md.html) |Type-safe NavDestinations must be annotated with @kotlinx.serialization.Serializable | (##) Including !!! This is not a built-in check. To include it, add the below dependency to your project. ``` // build.gradle.kts implementation("androidx.navigation:navigation-compose:2.9.0-alpha04") // build.gradle implementation 'androidx.navigation:navigation-compose:2.9.0-alpha04' // build.gradle.kts with version catalogs: implementation(libs.navigation.compose) # libs.versions.toml [versions] navigation-compose = "2.9.0-alpha04" [libraries] # For clarity and text wrapping purposes the following declaration is # shown split up across lines, but in TOML it needs to be on a single # line (see https://github.com/toml-lang/toml/issues/516) so adjust # when pasting into libs.versions.toml: navigation-compose = { module = "androidx.navigation:navigation-compose", version.ref = "navigation-compose" } ``` 2.9.0-alpha04 is the version this documentation was generated from; there may be newer versions available. (##) Changes * 2.4.0: First version includes ComposableDestinationInComposeScope, ComposableNavGraphInComposeScope, UnrememberedGetBackStackEntry. * 2.8.0: Adds WrongStartDestinationType. * 2.8.3: Adds MissingKeepAnnotation, MissingSerializableAnnotation. (##) Version Compatibility There are multiple older versions available of this library: | Version | Date | Issues | Compatible | Compiled | Requires | |-------------------:|----------|-------:|------------|--------------:|---------:| | 2.9.0-alpha04|2024/12/11| 6| Yes| 8.7+|8.0 and 8.1| | 2.9.0-alpha03|2024/11/13| 6| Yes| 8.0 and 8.1|8.0 and 8.1| | 2.9.0-alpha02|2024/10/30| 6| Yes| 8.0 and 8.1|8.0 and 8.1| | 2.9.0-alpha01|2024/10/16| 6| Yes| 8.0 and 8.1|8.0 and 8.1| | 2.8.5|2024/12/11| 6| Yes| 8.0 and 8.1|8.0 and 8.1| | 2.8.4|2024/11/13| 6| Yes| 8.0 and 8.1|8.0 and 8.1| | 2.8.3|2024/10/16| 6| Yes| 8.0 and 8.1|8.0 and 8.1| | 2.8.2|2024/10/02| 4| No[^1]| 8.0 and 8.1|8.0 and 8.1| | 2.8.1|2024/09/18| 4| No[^1]| 8.0 and 8.1|8.0 and 8.1| | 2.8.0|2024/09/04| 4| Yes| 8.0 and 8.1|8.0 and 8.1| | 2.7.7|2024/02/07| 3| Yes| 8.0 and 8.1|8.0 and 8.1| | 2.7.6|2023/12/13| 3| Yes| 8.0 and 8.1|8.0 and 8.1| | 2.7.5|2023/11/01| 3| Yes| 8.0 and 8.1|8.0 and 8.1| | 2.7.4|2023/10/04| 3| Yes| 8.0 and 8.1|8.0 and 8.1| | 2.7.3|2023/09/20| 3| Yes| 8.0 and 8.1|8.0 and 8.1| | 2.7.2|2023/09/06| 3| Yes| 8.0 and 8.1|8.0 and 8.1| | 2.7.1|2023/08/23| 3| Yes| 8.0 and 8.1|8.0 and 8.1| | 2.7.0|2023/08/09| 3| Yes| 8.0 and 8.1|8.0 and 8.1| | 2.6.0|2023/06/07| 3| Yes| 8.0 and 8.1|8.0 and 8.1| | 2.5.3|2022/10/24| 3| Yes| 7.3 and 7.4| 7.0| | 2.5.2|2022/09/07| 3| Yes| 7.3 and 7.4| 7.0| | 2.5.1|2022/07/27| 3| Yes| 7.3 and 7.4| 7.0| | 2.5.0|2022/06/29| 3| Yes| 7.3 and 7.4| 7.0| | 2.4.2|2022/04/06| 3| Yes| 7.1| 7.0| | 2.4.1|2022/02/09| 3| Yes| 7.1| 7.0| | 2.4.0|2022/01/26| 3| Yes| 7.1| 7.0| Compatibility Problems: [^1]: com.android.tools.lint.checks.infrastructure.LintDetectorTest#kotlin(java.lang.String): com.android.tools.lint.checks.infrastructure.TestFile is not available