Code example for Animation

Methods: reset

0
        this.view = view;
    } 
 
    public void show() { 
        if ( view.getVisibility() == View.VISIBLE )	{
            if ( (view.getAnimation()!=null) && ( view.getAnimation().equals(anim_fadeout)))
            { 
                view.setAnimation(null);
                anim_fadeout.reset();
                return; 
            } else { 
                // continue timer 
                animationTimer.prolongTimer();
                return; 
            } 
        } else { 
            startShowAnimation(); 
            animationTimer = new SpecialTimer(100, this, "For view "+view.toString());
            animationTimer.setTimerMax(mMaxTimer);
        } 
    }