Package 

Interface SubsamplingScaleImageView.OnAnimationEventListener


  • 
    public interface SubsamplingScaleImageView.OnAnimationEventListener
    
                        

    An event listener for animations, allows events to be triggered when an animation completes,is aborted by another animation starting, or is aborted by a touch event. Note that none ofthese events are triggered if the activity is paused, the image is swapped, or in other caseswhere the view's internal state gets wiped or draw events stop.

    • Method Summary

      Modifier and Type Method Description
      abstract void onComplete() The animation has completed, having reached its endpoint.
      abstract void onInterruptedByUser() The animation has been aborted before reaching its endpoint because the user touched the screen.
      abstract void onInterruptedByNewAnim() The animation has been aborted before reaching its endpoint because a new animation has been started.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • onComplete

         abstract void onComplete()

        The animation has completed, having reached its endpoint.

      • onInterruptedByUser

         abstract void onInterruptedByUser()

        The animation has been aborted before reaching its endpoint because the user touched the screen.

      • onInterruptedByNewAnim

         abstract void onInterruptedByNewAnim()

        The animation has been aborted before reaching its endpoint because a new animation has been started.