Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
 package com.twotoasters.jazzylistview;
 
 
This interface serves as the contract for a transition effect.
 
public interface JazzyEffect {
    
Initializes the view's attributes so that the view is in position to begin the animation.

Parameters:
item The view to be animated.
position The index of the view in the list.
scrollDirection Positive number indicating scrolling down, or negative number indicating scrolling up.
    void initView(View itemint positionint scrollDirection);

    
Configures the animator object with the relative changes or destination point for any attributes that will be animated.

Parameters:
item The view to be animated.
position The index of the view in the list.
scrollDirection Positive number indicating scrolling down, or negative number indicating scrolling up.
animator The ViewPropertyAnimator object responsible for animating the view.
    void setupAnimation(View itemint positionint scrollDirectionViewPropertyAnimator animator);
New to GrepCode? Check out our FAQ X