use of com.nineoldandroids.view.ViewPropertyAnimator in project SunDay by iQuick.
the class JazzyHelper method doJazzinessImpl.
private void doJazzinessImpl(View item, int position, int scrollDirection) {
ViewPropertyAnimator animator = ViewPropertyAnimator.animate(item).setDuration(DURATION).setInterpolator(new AccelerateDecelerateInterpolator());
scrollDirection = scrollDirection > 0 ? 1 : -1;
mTransitionEffect.initView(item, position, scrollDirection);
mTransitionEffect.setupAnimation(item, position, scrollDirection, animator);
animator.start();
}
Aggregations