interpolation - Android custom interpolator -


i have animate view decelerate upto 30% after accelerate till 70% , @ last again decelerate till finish.

please find below image function of time.

enter image description here

which interpolater have used or need go custom one.

if custom 1 required please let me know function have use in getinterpolation()

thanks in advance.

you not have write own custom interpolator, can use library https://github.com/daimajia/animationeasingfunctions, use expoeaseout

animatorset set = new animatorset(); set.playtogether(          glider.glide(skill.expoeaseout, 300, objectanimator.offloat(mtarget, "translationy", 0, 100)  ); set.setduration(300); set.start(); 

Comments

Popular posts from this blog

c++ - QTextObjectInterface with Qml TextEdit (QQuickTextEdit) -

xcode - Swift Playground - Files are not readable -

jboss7.x - JBoss AS 7.3 vs 7.4 and differences -