androidx.compose.animation:animation-core-android

Name

Compose Animation Core

Description

Animation engine and animation primitives that are the building blocks of the Compose animation library

License

The Apache Software License, Version 2.0

Vendor

Jetpack Compose

Identifier

androidx.compose.animation.core

Feedback

https://issuetracker.google.com/issues/new?component=612128

Min

Lint 8.0 and 8.1

Compiled

Lint 8.7+

Artifact

androidx.compose.animation:animation-core-android:1.8.0-alpha07

Included Issues

Issue Id Issue Description
UnusedTransitionTargetStateParameter Transition.animate* calls should use the provided targetState when defining values
UnrememberedAnimatable Creating an Animatable during composition without using remember
ArcAnimationSpecTypeIssue ArcAnimationSpec is designed for 2D values. Particularly, for positional values such as Offset.

Including

This is not a built-in check. To include it, add the below dependency to your project.

// build.gradle.kts
implementation("androidx.compose.animation:animation-core-android:1.8.0-alpha07")

// build.gradle
implementation 'androidx.compose.animation:animation-core-android:1.8.0-alpha07'

// build.gradle.kts with version catalogs:
implementation(libs.animation.core.android)

# libs.versions.toml
[versions]
animation-core-android = "1.8.0-alpha07"
[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:
animation-core-android = {
    module = "androidx.compose.animation:animation-core-android",
    version.ref = "animation-core-android"
}

1.8.0-alpha07 is the version this documentation was generated from; there may be newer versions available.

NOTE: These lint checks are also made available separate from the main library. You can also use androidx.compose.animation:animation-core-lint:1.8.0-alpha07.

Changes

Version Compatibility

There are multiple older versions available of this library:

Version Date Issues Compatible Compiled Requires
1.8.0-alpha07 2024/12/11 3 Yes 8.7+ 8.0 and 8.1
1.8.0-alpha06 2024/11/13 3 Yes 8.7+ 8.0 and 8.1
1.8.0-alpha05 2024/10/30 3 Yes 8.7+ 8.0 and 8.1
1.8.0-alpha04 2024/10/16 3 Yes 8.7+ 8.0 and 8.1
1.8.0-alpha03 2024/10/02 3 Yes 8.7+ 8.0 and 8.1
1.8.0-alpha02 2024/09/18 3 Yes 8.0 and 8.1 8.0 and 8.1
1.8.0-alpha01 2024/09/04 3 Yes 8.0 and 8.1 8.0 and 8.1
1.7.6 2024/12/11 3 Yes 8.0 and 8.1 8.0 and 8.1
1.7.5 2024/10/30 3 Yes 8.0 and 8.1 8.0 and 8.1
1.7.4 2024/10/16 3 Yes 8.0 and 8.1 8.0 and 8.1
1.7.3 2024/10/02 3 Yes 8.0 and 8.1 8.0 and 8.1
1.7.2 2024/09/18 3 Yes 8.0 and 8.1 8.0 and 8.1
1.7.1 2024/09/10 3 Yes 8.0 and 8.1 8.0 and 8.1
1.7.0 2024/09/04 3 Yes 8.0 and 8.1 8.0 and 8.1
1.6.8 2024/06/12 2 Yes 8.0 and 8.1 8.0 and 8.1
1.6.7 2024/05/01 2 Yes 8.0 and 8.1 8.0 and 8.1
1.6.6 2024/04/17 2 Yes 8.0 and 8.1 8.0 and 8.1
1.6.5 2024/04/03 2 Yes 8.0 and 8.1 8.0 and 8.1
1.6.4 2024/03/20 2 Yes 8.0 and 8.1 8.0 and 8.1
1.6.3 2024/03/06 2 Yes 8.0 and 8.1 8.0 and 8.1
1.6.2 2024/02/21 2 Yes 8.0 and 8.1 8.0 and 8.1
1.6.1 2024/02/07 2 Yes 8.0 and 8.1 8.0 and 8.1
1.6.0 2024/01/24 2 Yes 8.0 and 8.1 8.0 and 8.1
1.5.4 2023/10/18 2 Yes 8.0 and 8.1 8.0 and 8.1
1.5.3 2023/10/04 2 Yes 8.0 and 8.1 8.0 and 8.1
1.5.2 2023/09/27 2 Yes 8.0 and 8.1 8.0 and 8.1
1.5.1 2023/09/06 2 Yes 8.0 and 8.1 8.0 and 8.1
1.5.0 2023/08/09 2 Yes 8.0 and 8.1 8.0 and 8.1

formatted by Markdeep 1.18