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) -

javascript - angular ng-required radio button not toggling required off in firefox 33, OK in chrome -

xcode - Swift Playground - Files are not readable -