(#) androidx.lifecycle:lifecycle-runtime-android Name : Lifecycle Runtime Description : Android Lifecycle Runtime License : [The Apache Software License, Version 2.0](http://www.apache.org/licenses/LICENSE-2.0.txt) Vendor : Android Open Source Project Identifier : androidx.lifecycle Feedback : https://issuetracker.google.com/issues/new?component=413132 Min : Lint 8.0 and 8.1 Compiled : Lint 8.7+ Artifact : androidx.lifecycle:lifecycle-runtime-android:2.9.0-alpha08 (##) Included Issues |Issue Id |Issue Description | |------------------------------------------------------------------|-------------------------------------------------------------------------------| |[UnsafeLifecycleWhenUsage](UnsafeLifecycleWhenUsage.md.html) |Unsafe UI operation in finally/catch of Lifecycle.whenStarted of similar method| |[RepeatOnLifecycleWrongUsage](RepeatOnLifecycleWrongUsage.md.html)|Wrong usage of repeatOnLifecycle | (##) Including !!! This is not a built-in check. To include it, add the below dependency to your project. ``` // build.gradle.kts implementation("androidx.lifecycle:lifecycle-runtime-android:2.9.0-alpha08") // build.gradle implementation 'androidx.lifecycle:lifecycle-runtime-android:2.9.0-alpha08' // build.gradle.kts with version catalogs: implementation(libs.lifecycle.runtime.android) # libs.versions.toml [versions] lifecycle-runtime-android = "2.9.0-alpha08" [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: lifecycle-runtime-android = { module = "androidx.lifecycle:lifecycle-runtime-android", version.ref = "lifecycle-runtime-android" } ``` 2.9.0-alpha08 is the version this documentation was generated from; there may be newer versions available. (##) Changes * 2.8.0: First version includes RepeatOnLifecycleWrongUsage, UnsafeLifecycleWhenUsage. (##) Version Compatibility There are multiple older versions available of this library: | Version | Date | Issues | Compatible | Compiled | Requires | |-------------------:|----------|-------:|------------|--------------:|---------:| | 2.9.0-alpha08|2024/12/11| 2| Yes| 8.7+|8.0 and 8.1| | 2.9.0-alpha07|2024/11/13| 2| Yes| 8.7+|8.0 and 8.1| | 2.9.0-alpha06|2024/10/30| 2| Yes| 8.7+|8.0 and 8.1| | 2.9.0-alpha05|2024/10/16| 2| Yes| 8.7+|8.0 and 8.1| | 2.9.0-alpha04|2024/10/02| 2| Yes| 8.7+|8.0 and 8.1| | 2.9.0-alpha03|2024/09/18| 2| Yes| 8.0 and 8.1|8.0 and 8.1| | 2.9.0-alpha02|2024/09/04| 2| Yes| 8.0 and 8.1|8.0 and 8.1| | 2.9.0-alpha01|2024/08/07| 2| Yes| 8.0 and 8.1|8.0 and 8.1| | 2.8.7|2024/10/30| 2| Yes| 8.0 and 8.1|8.0 and 8.1| | 2.8.6|2024/09/18| 2| Yes| 8.0 and 8.1|8.0 and 8.1| | 2.8.5|2024/09/04| 2| Yes| 8.0 and 8.1|8.0 and 8.1| | 2.8.4|2024/07/24| 2| Yes| 8.0 and 8.1|8.0 and 8.1| | 2.8.3|2024/07/01| 2| Yes| 8.0 and 8.1|8.0 and 8.1| | 2.8.2|2024/06/12| 2| Yes| 8.0 and 8.1|8.0 and 8.1| | 2.8.1|2024/05/29| 2| Yes| 8.0 and 8.1|8.0 and 8.1| | 2.8.0|2024/05/14| 2| Yes| 8.0 and 8.1|8.0 and 8.1|