# AnimationEasingFunctions **Repository Path**: wangzhenyu90/AnimationEasingFunctions ## Basic Information - **Project Name**: AnimationEasingFunctions - **Description**: 缓动动画库,引用自:https://github.com/daimajia/AnimationEasingFunctions - **Primary Language**: Android - **License**: Apache-2.0 - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2016-09-02 - **Last Updated**: 2020-12-19 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README #Android Easing Functions This project is originally from my another project, [AndroidViewAnimation](https://github.com/daimajia/AndroidViewAnimations), 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](http://easings.net/) made by [Robert Penne](http://robertpenner.com/), then, I implemented Easing Functions and make a lovely demo. ##Demo ![](http://ww4.sinaimg.cn/mw690/610dc034jw1ehuzoul4h8g20b00gmh9s.gif) ##Uasage ### Step 1 Gradle ```groovy compile 'com.nineoldandroids:library:2.4.0' compile 'com.daimajia.easing:library:1.0.1@aar' ``` or maven ```xml com.nineoldandroids library 2.4.0 com.daimajia.easing library 1.0.1 apklib ``` ### Step 2 Just like a glider. ```java 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](https://github.com/daimajia/AnimationEasingFunctions/issues/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](http://developer.android.com/tools/help/proguard.html#configuring). #About me A student in mainland China. Welcome to [offer me an internship](mailto:daimajia@gmail.com). If you have any new idea about this project, feel free to [contact me](mailto:daimajia@gmail.com).