0
点赞
收藏
分享

微信扫一扫

Animator cancel end

小安子啊 2023-05-23 阅读 43

/** 

      * Cancels the animation. 
Unlike {@link #end()}, <code>cancel()</code> causes the animation to
      * stop in its tracks, sending an 

      * {@link android.animation.Animator.AnimatorListener#onAnimationCancel(Animator)} to 

      * its listeners, followed by an 

      * {@link android.animation.Animator.AnimatorListener#onAnimationEnd(Animator)} message. 

      * 

      * <p>This method must be called on the thread that is running the animation.</p> 

      */ 

     public void cancel() { 

     } 


     /** 

      * Ends the animation. 
This causes the animation to assign the end value of the property being
      * animated, then calling the 

      * {@link android.animation.Animator.AnimatorListener#onAnimationEnd(Animator)} method on 

      * its listeners. 

      * 

      * <p>This method must be called on the thread that is running the animation.</p> 

      */ 

     public void end() { 

     }

举报

相关推荐

0 条评论