dependencies{// Java language implementationimplementation"androidx.dynamicanimation:dynamicanimation:1.1.0"// Kotlinimplementation"androidx.dynamicanimation:dynamicanimation-ktx:"}
Kotlin
dependencies{// Java language implementationimplementation("androidx.dynamicanimation:dynamicanimation:1.1.0")// Kotlinimplementation("androidx.dynamicanimation:dynamicanimation-ktx:")}
[[["わかりやすい","easyToUnderstand","thumb-up"],["問題の解決に役立った","solvedMyProblem","thumb-up"],["その他","otherUp","thumb-up"]],[["必要な情報がない","missingTheInformationINeed","thumb-down"],["複雑すぎる / 手順が多すぎる","tooComplicatedTooManySteps","thumb-down"],["最新ではない","outOfDate","thumb-down"],["翻訳に関する問題","translationIssue","thumb-down"],["サンプル / コードに問題がある","samplesCodeIssue","thumb-down"],["その他","otherDown","thumb-down"]],["最終更新日 2025-07-27 UTC。"],[],[],null,["# Dynamicanimation\n================\n\n[User Guide](/guide/topics/graphics/spring-animation) [Code Sample](https://github.com/android/animation-samples/tree/main/Motion#list--oscillation) \nAPI Reference \n[androidx.dynamicanimation.animation](/reference/kotlin/androidx/dynamicanimation/animation/package-summary) \nCreate smooth animations with a physics-based animation API. \n\n| Latest Update | Stable Release | Release Candidate | Beta Release | Alpha Release |\n|---------------|------------------------------------------------------------|-------------------|--------------|---------------|\n| April 9, 2025 | [1.1.0](/jetpack/androidx/releases/dynamicanimation#1.1.0) | - | - | - |\n\nDeclaring dependencies\n----------------------\n\nTo add a dependency on DynamicAnimation, you must add the Google Maven repository to your\nproject. Read [Google's Maven repository](/studio/build/dependencies#google-maven)\nfor more information.\n\nAdd the dependencies for the artifacts you need in the `build.gradle` file for\nyour app or module: \n\n### Groovy\n\n```groovy\ndependencies {\n // Java language implementation\n implementation \"androidx.dynamicanimation:dynamicanimation:1.1.0\"\n\n // Kotlin\n implementation \"androidx.dynamicanimation:dynamicanimation-ktx:\"\n}\n```\n\n### Kotlin\n\n```kotlin\ndependencies {\n // Java language implementation\n implementation(\"androidx.dynamicanimation:dynamicanimation:1.1.0\")\n\n // Kotlin\n implementation(\"androidx.dynamicanimation:dynamicanimation-ktx:\")\n}\n```\n\nFor more information about dependencies, see [Add build dependencies](/studio/build/dependencies).\n\nFeedback\n--------\n\nYour feedback helps make Jetpack better. Let us know if you discover new issues or have\nideas for improving this library. Please take a look at the\n[existing issues](https://issuetracker.google.com/issues?q=componentid:460912%20status:open)\nin this library before you create a new one. You can add your vote to an existing issue by\nclicking the star button.\n\n[Create a new issue](https://issuetracker.google.com/issues/new?component=460912&template=1422624)\n\nSee the [Issue Tracker documentation](https://developers.google.com/issue-tracker)\nfor more information.\n\nVersion 1.1.0\n-------------\n\n### Version 1.1.0\n\nApril 9, 2025\n\n`androidx.dynamicanimation:dynamicanimation:1.1.0` and `androidx.dynamicanimation:dynamicanimation-ktx:1.1.0` are released. Version 1.1.0 contains [these commits](https://android.googlesource.com/platform/frameworks/support/+log/b82591147dfcbb8a7c0b9d03b0ff7ae5c648ad83..d5923c378c00b537f3421786eb3a50e6f6868386/dynamicanimation).\n\n**API Changes**\n\n- `DynamicAnimation` library is now stable.\n\n### Version 1.1.0-rc01\n\nMarch 26, 2025\n\n`androidx.dynamicanimation:dynamicanimation:1.1.0-rc01` and `androidx.dynamicanimation:dynamicanimation-ktx:1.1.0-rc01` are released. Version 1.1.0-rc01 contains [these commits](https://android.googlesource.com/platform/frameworks/support/+log/8870a8ee99ec618927a9edb4b6e74b8570381149..b82591147dfcbb8a7c0b9d03b0ff7ae5c648ad83/).\n\n### Version 1.1.0-beta01\n\nMarch 12, 2025\n\n`androidx.dynamicanimation:dynamicanimation:1.1.0-beta01` is released. Version 1.1.0-beta01 contains [these commits](https://android.googlesource.com/platform/frameworks/support/+log/ce2902e01f920f17637879b6c918ffe987d2f35b..8870a8ee99ec618927a9edb4b6e74b8570381149/dynamicanimation/dynamicanimation).\n\n**API Changes**\n\n- Hide AnimationHandler class visibility. ([I8072e](https://android-review.googlesource.com/#/q/I8072eb333158a2f8a05590e1bb01dd59ddef9183))\n\n**Bug Fixes**\n\n- This library now uses [JSpecify nullness annotations](https://jspecify.dev/), which are type-use. Kotlin developers should use the following compiler argument to enforce correct usage: `-Xjspecify-annotations=strict` (this is the default starting with version 2.1.0 of the Kotlin compiler). ([I70783](https://android-review.googlesource.com/#/q/I707835de5ef50bb485fbb79d26600153ca22f6e2), [b/326456246](https://issuetracker.google.com/issues/326456246))\n\n### Version 1.1.0-alpha03\n\nDecember 4, 2019\n\n`androidx.dynamicanimation:dynamicanimation:1.1.0-alpha03` is released with no notable public changes since `1.1.0-alpha02`. [Version 1.1.0-alpha03 contains these commits](https://android.googlesource.com/platform/frameworks/support/+log/668764cd97f4074bc1f309fa4b55467402332773..ce2902e01f920f17637879b6c918ffe987d2f35b/dynamic-animation).\n\n### Version 1.1.0-alpha02\n\nJuly 2, 2019\n\n`androidx.dynamicanimation:dynamicanimation:1.1.0-alpha02` is released. The commits included in this version can be found [here](https://android.googlesource.com/platform/frameworks/support/+log/21e165dc2f0fe0acc7ced317d75f4e92155a8e35..668764cd97f4074bc1f309fa4b55467402332773/dynamic-animation).\n| **Note:** This version is dependent on the Java 8 programming language. Please read [Use Java 8 language features](/studio/write/java8-support) to learn how to use it in your project.\n\n**Bug fixes**\n\n- Fixed a bug in the handling of pending position when canceled ([aosp/978170](https://android-review.googlesource.com/c/978170))\n\n### Version 1.1.0-alpha01\n\nApril 3, 2019\n\n`androidx.dynamicanimation:dynamicanimation:1.1.0-alpha01` is released. The commits included in this version can be found [here](https://android.googlesource.com/platform/frameworks/support/+log/3478ef7cbc6b27d8c1497d76c3ffff688771380e..21e165dc2f0fe0acc7ced317d75f4e92155a8e35/dynamic-animation).\n\nDynamicanimation-Ktx Version 1.0.0\n----------------------------------\n\n### Version 1.0.0-beta01\n\nMarch 12, 2025\n\n`androidx.dynamicanimation:dynamicanimation-ktx:1.0.0-beta01` is released. Version 1.0.0-beta01 contains [these commits](https://android.googlesource.com/platform/frameworks/support/+log/ce2902e01f920f17637879b6c918ffe987d2f35b..8870a8ee99ec618927a9edb4b6e74b8570381149/dynamicanimation/dynamicanimation-ktx).\n\n### DynamicAnimation-Ktx Version 1.0.0-alpha03\n\nDecember 4, 2019\n\n`androidx.dynamicanimation:dynamicanimation-ktx:1.0.0-alpha03` is released with no notable public changes since `1.0.0-alpha02`. [Version 1.0.0-alpha03 contains these commits](https://android.googlesource.com/platform/frameworks/support/+log/21e165dc2f0fe0acc7ced317d75f4e92155a8e35..ce2902e01f920f17637879b6c918ffe987d2f35b/dynamic-animation/ktx).\n\n### DynamicAnimation-Ktx Version 1.0.0-alpha02\n\nApril 3, 2019\n\n`androidx.dynamicanimation:dynamicanimation-ktx:1.0.0-alpha02` is released. The commits included in this version can be found [here](https://android.googlesource.com/platform/frameworks/support/+log/5d65a6a77b8fd846a20fa35c246f377fdfda0e3b..21e165dc2f0fe0acc7ced317d75f4e92155a8e35/dynamic-animation/ktx).\n\n**API changes**\n\n- Changed `springAnimationOf`and `flingAnimationOf` to take in a setter and a getter instead of a target and a `FloatPropertyCompat` to instantiate a `SpringAnimation` and a `FlingAnimation` respectively.\n\n### Dynamicanimation-Ktx Version 1.0.0-alpha01\n\nFebruary 7, 2019\n\n`androidx.dynamicanimation:dynamicanimation-ktx:1.0.0-alpha01` is released. This is the first release of dynamic-animation-ktx.\n\n**New features**\n\n- New Kotlin API for creating `SpringAnimations` and `FlingAnimations`"]]