3

|

    2

    3

    |
    2

    AnimationListener a_to_b = new AnimationListener() {
    
                @Override
                public void onAnimationStart(Animation animation) {
                    // Do something 
                }
    
                @Override
                public void onAnimationRepeat(Animation animation) {
                }
    
                @Override
                public void onAnimationEnd(Animation animation) {
                    // Do something         
                }
            };
    

    |