Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
 package com.twotoasters.jazzylistview.effects;
 
 
 
 public class GrowEffect implements JazzyEffect {
    private static final float INITIAL_SCALE_FACTOR = 0.01f;
    @Override
    public void initView(View itemint positionint scrollDirection) {
        ViewHelper.setPivotX(itemitem.getWidth() / 2);
        ViewHelper.setPivotY(itemitem.getHeight() / 2);
        ViewHelper.setScaleX(item);
        ViewHelper.setScaleY(item);
    }
    @Override
    public void setupAnimation(View itemint positionint scrollDirectionViewPropertyAnimator animator) {
        animator.scaleX(1).scaleY(1);
    }
New to GrepCode? Check out our FAQ X