daimajia/AnimationEasingFunctions
daimajia/AnimationEasingFunctions has 2,454 GitHub stars and 405 forks. GitHot measured 0 stars in 24 hours, -1 in 7 days, and -2 in 15 days. Last checked 2026-11-25 00:57 UTC. Last push 2020-08-24.
实测星标增长
- 24小时
- 0
- 7天
- -1
- 15天
- -2
- 1个月
- 正在收集历史
各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。
关于
Android 动画缓动函数。让动画更真实!
创作与媒体README.md
原文Android Easing Functions 
This project is originally from my another project, AndroidViewAnimation, which is an animation collection, to help you make animation easier.
While, I was still unsatisfied with the animation effect.
So, I started to explore how to make it more and more real.
I found the Easing Functions made by Robert Penne, then, I implemented Easing Functions and make a lovely demo.
Demo

Usage
NineOldAndroidshas been removed since version 2.0. Thanks Jake Wharton.
minSdkVersion: 11
Step 1
Gradle
implementation 'com.daimajia.easing:library:2.4@aar'
or maven
<dependency>
<groupId>com.daimajia.easing</groupId>
<artifactId>library</artifactId>
<version>2.4</version>
<type>apklib</type>
</dependency>
Step 2
Just like a glider.
AnimatorSet set = new AnimatorSet();
set.playTogether(
Glider.glide(Skill.BounceEaseInOut, 1200, ObjectAnimator.ofFloat(mTarget, "translationY", 0, 100))
);
set.setDuration(1200);
set.start();
Tips
If you encounter exceptions such as ClassNotFoundExceptions (#4), please add the following to your proguard-project.txt:
-keep class com.daimajia.easing.** { *; }
-keep interface com.daimajia.easing.** { *; }
More details visit official guide.
About me
A student in mainland China.
Welcome to offer me an internship. If you have any new idea about this project, feel free to contact me.
探索相关项目
加载中…