(#) androidx.activity:activity-compose Name : Activity Compose Description : Compose integration with Activity License : [The Apache Software License, Version 2.0](http://www.apache.org/licenses/LICENSE-2.0.txt) Vendor : Jetpack Activity Compose Identifier : androidx.activity.compose Feedback : https://issuetracker.google.com/issues/new?component=612128 Min : Lint 8.0 and 8.1 Compiled : Lint 8.0 and 8.1 Artifact : androidx.activity:activity-compose:1.10.0-rc01 (##) Included Issues |Issue Id |Issue Description | |----------------------------------------------------------|---------------------------------------------------------------------------------| |[LaunchDuringComposition](LaunchDuringComposition.md.html)|Calls to `launch` should happen inside of a SideEffect and not during composition| |[NoCollectCallFound](NoCollectCallFound.md.html) |You must call collect on the given progress flow when using PredictiveBackHandler| |[ContextCastToActivity](ContextCastToActivity.md.html) |LocalContext should not be cast to Activity, use LocalActivity instead | (##) Including !!! This is not a built-in check. To include it, add the below dependency to your project. ``` // build.gradle.kts implementation("androidx.activity:activity-compose:1.10.0-rc01") // build.gradle implementation 'androidx.activity:activity-compose:1.10.0-rc01' // build.gradle.kts with version catalogs: implementation(libs.activity.compose) # libs.versions.toml [versions] activity-compose = "1.10.0-rc01" [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: activity-compose = { module = "androidx.activity:activity-compose", version.ref = "activity-compose" } ``` 1.10.0-rc01 is the version this documentation was generated from; there may be newer versions available. (##) Changes * 1.4.0: First version includes LaunchDuringComposition. * 1.8.0: Adds NoCollectCallFound. * 1.10.0-alpha03: Adds ContextCastToActivity. (##) Version Compatibility There are multiple older versions available of this library: | Version | Date | Issues | Compatible | Compiled | Requires | |-------------------:|----------|-------:|------------|--------------:|---------:| | 1.10.0-rc01|2024/12/11| 3| Yes| 8.0 and 8.1|8.0 and 8.1| | 1.10.0-beta01|2024/11/13| 3| Yes| 8.0 and 8.1|8.0 and 8.1| | 1.10.0-alpha03|2024/10/30| 3| Yes| 8.0 and 8.1|8.0 and 8.1| | 1.10.0-alpha02|2024/09/04| 2| Yes| 8.0 and 8.1|8.0 and 8.1| | 1.10.0-alpha01|2024/06/26| 2| Yes| 8.0 and 8.1|8.0 and 8.1| | 1.9.3|2024/10/16| 2| Yes| 8.0 and 8.1|8.0 and 8.1| | 1.9.2|2024/09/04| 2| Yes| 8.0 and 8.1|8.0 and 8.1| | 1.9.1|2024/07/24| 2| Yes| 8.0 and 8.1|8.0 and 8.1| | 1.9.0|2024/04/17| 2| Yes| 8.0 and 8.1|8.0 and 8.1| | 1.8.2|2023/12/13| 2| Yes| 8.0 and 8.1|8.0 and 8.1| | 1.8.1|2023/11/15| 2| Yes| 8.0 and 8.1|8.0 and 8.1| | 1.8.0|2023/10/04| 2| Yes| 8.0 and 8.1|8.0 and 8.1| | 1.7.2|2023/05/24| 1| Yes| 8.0 and 8.1| 7.0| | 1.7.1|2023/04/19| 1| Yes| 8.0 and 8.1| 7.0| | 1.7.0|2023/03/22| 1| Yes| 8.0 and 8.1| 7.0| | 1.6.1|2022/10/24| 1| Yes| 7.3 and 7.4| 7.0| | 1.6.0|2022/09/21| 1| Yes| 7.3 and 7.4| 7.0| | 1.5.1|2022/07/27| 1| Yes| 7.3 and 7.4| 7.0| | 1.5.0|2022/06/29| 1| Yes| 7.3 and 7.4| 7.0| | 1.4.0|2021/10/27| 1| Yes| 7.1| 7.0|