Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
 package com.twotoasters.jazzylistview.effects;
 
 
 
 public class FanEffect implements JazzyEffect {
    private static final int INITIAL_ROTATION_ANGLE = 70;
    @Override
    public void initView(View itemint positionint scrollDirection) {
        ViewHelper.setPivotX(item, 0);
        ViewHelper.setPivotY(item, 0);
        ViewHelper.setRotation(item * scrollDirection);
    }
    @Override
    public void setupAnimation(View itemint positionint scrollDirectionViewPropertyAnimator animator) {
        animator.rotationBy(- * scrollDirection);
    }
New to GrepCode? Check out our FAQ X