Skip to content
프로젝트

daimajia/AnimationEasingFunctions

GitHub에서 보기

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.

이 수치를 측정하는 방법

측정된 스타 증가

in 24h
0
in 7 days
-1
in 15 days
-2
in 1 month
기록 수집 중

서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.

소개

Android 애니메이션 이징 함수입니다. 애니메이션을 더 실제처럼 만들어 보세요!

창작 및 미디어

README.md

Original

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.

관련 프로젝트 살펴보기

불러오는 중…