• Stars
    star
    2,469
  • Rank 18,619 (Top 0.4 %)
  • Language
    Java
  • License
    MIT License
  • Created over 10 years ago
  • Updated about 4 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Android Animation Easing Functions. Let's make animation more real!

Android Easing Functions Build Status

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

NineOldAndroids has 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.

More Repositories

1

AndroidViewAnimations

Cute view animation collection.
Java
12,422
star
2

AndroidSwipeLayout

The Most Powerful Swipe Layout!
Java
12,373
star
3

NumberProgressBar

A beautiful, slim Android ProgressBar.
Java
6,066
star
4

AndroidImageSlider

An amazing and convenient Android image slider.
Java
5,629
star
5

AndroidViewHover

An elegant way to show your menu or messages.
Java
3,208
star
6

AnimeTaste

Taste global original animation
Java
1,624
star
7

EverMemo

Fast Record,Organize,and Share. The android memo app you will deeply love. ❤
Java
798
star
8

bleed-baidu-white

榨干百度网盘的剩余价值
Python
466
star
9

revenge

联手对抗臭长广告
JavaScript
307
star
10

little-bear-dictionary

This will be the most powerful android dictionary!!!
Java
274
star
11

java-multithread-downloader

Java multithread download library
Java
267
star
12

huntscreens

Take screenshots of each new project on Producthunt, YC, and Indiehackers, explore with Ease.
TypeScript
142
star
13

social-auth-simulator

模拟登陆->授权->获取access_token,目前支持人人、新浪微博、腾讯微博
Python
109
star
14

Gank.IO

Gank.IO source code.
23
star
15

EverMemo-EverNote

Small modifications for EverMemo
Java
14
star
16

Learn-Algorithm

拖延症患者学习算法小分队
5
star
17

dictionary

Click read me md 's redirect to know more
5
star
18

daimajia

My Intro.
4
star
19

todo

HTML
4
star
20

railway-pgvector

Dockerfile
3
star
21

SAE_wordpress_blog

SAE上的wordpress博客
PHP
3
star
22

old-version-little-bear-dictionary

Java
2
star
23

StoryTimeline

JavaScript
2
star
24

tp

1
star
25

little-bear-dictionary-dependency

All the dependencies of https://github.com/xuanqinanhai/little-bear-dictionary
1
star