Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

com.daimajia.easing:library

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

com.daimajia.easing:library

Android Animation Easing Functions

  • 2.4
  • Source
  • Maven
  • Socket score

Version published
Maintainers
1
Source

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.

FAQs

Package last updated on 24 Aug 2020

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc