Baike.dev
All toolsOnline toolsAI codingTrendingOpen sourceNewsSubmit
Log in
< Back to tools
S

Springy_Facebook_Rebound

> 后端框架
Open source

Springy makes Android Property animation easy to use.

189 stars0 likes2 views
WebsiteGitHub

About

Springy makes Android Property animation easy to use.

Springy_Facebook_Rebound

Springy is About Motion and Animation on Android platform, you can make smooth and clean property animations

Scale, Translate, Alpha, Rotate.

How to use

First Need to add dependency in your Gradle.

     Compile 'com.facebook.rebound:rebound:0.3.8'    

 Then Create Springy Animator instance and you can initialize by one of it's two constructors.

 with Spring Config.
 
 1.SpringyAnimator(SpringAnimationType.SCALEXY,TENSION, FRACTION, ANIMATION_START_VALUE, ANIMATION_END_VALUE); 
 
 Without Spring Config.
 
 2.SpringyAnimator(SpringAnimationType.SCALEXY, ANIMATION_START_VALUE, ANIMATION_END_VALUE);
 
        {
        
        SpringyAnimator iconSpring = new SpringyAnimator(SpringAnimationType.SCALEXY, 4, 2.5, 0, 1);
        
        // start spring with you view.            
        iconSpring.startSpring(myView);      
        }

you can set Delay.

                iconSpring.setDelay(200);

SpringyAnimationTypes you can use.

TRANSLATEX,
TRANSLATEY,
ROTATEX,
ROTATEY,
SCALEXY,
SCALEX,
SCALEY,
ALPHA,
ROTATION

Springy For RecyclerView.

creat initialize SpringyAdapterAnimator in you Adapter Constructor.

       // pass recyclerView in it.
      springyAdapterAnimator = new SpringyAdapterAnimator(recyclerView);
       // set SpringyAdapterAnimationType
      springyAdapterAnimator.setSpringAnimationType(SpringyAdapterAnimationType.SLIDE_FROM_BOTTOM);
       // (optional) add Spring Config
      springyAdapterAnimator.addConfig(85,15);    
      
      // call this method in  onCreateViewHolder 
              springyAdapterAnimator.onSpringItemCreate(itemView);
              
              
       // call this method in  onBindViewHolder 
             springyAdapterAnimator.onSpringItemBind(holder.itemView, position);

SpringyAdapterAnimation Types you can use.

SLIDE_FROM_BOTTOM.

!

SLIDE_FROM_RIGHT.

SLIDE_FROM_LEFT.

SCALE.

About Facebook Rebound

Rebound is a java library that models spring dynamics. Rebound spring models can be used to create animations that feel natural by introducing real world physics to your application.

Rebound is not a general purpose physics library; however, spring dynamics can be used to drive a wide variety of animations. The simplicity of Rebound makes it easy to integrate and use as a building block for creating more complex components like pagers, toggles, and scrollers.

For examples and usage instructions head over to:

facebook.github.io/rebound

Issues· 0 open

View all issuesOpen on GitHub

No open issues yet, or sync has not completed.

> Tags

Javaandroidanimationfacebookphysics

No comments yet. Be the first to share.

> Details

PublishedAug 1, 2026
UpdatedSep 18, 2026
Category后端框架
PricingOpen source

> Related tools

N
Node.js
基于 V8 的 JavaScript 运行时
D
Django
Python 高级 Web 框架
S
Spring Boot
Java 生态主流微服务框架