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.
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
Post a Comment