Code example for AccelerateDecelerateInterpolator

0
            mAlreadyAnimatedItems.add(position);
        } 
    } 
 
    private void doJazzinessImpl(View item, int position, int scrollDirection) {
        ViewPropertyAnimator animator = com.nineoldandroids.view.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();
    } 
 
    /** 
     * @see AbsListView.OnScrollListener#onScrollStateChanged 
     */ 
    @Override 
    public void onScrollStateChanged(AbsListView view, int scrollState) {