Package io.rong.imkit.picture.widget.longimage

## Interface SubsamplingScaleImageView.OnAnimationEventListener

- All Implemented Interfaces:

      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 of these events are triggered if the activity is paused, the image is swapped, or in other cases where the view's internal state gets wiped or draw events stop.

- - ### Nested Class Summary

    Nested Classes
    Modifier and Type | Class | Description
    --- | --- | ---

  - ### Field Summary

    Fields
    Modifier and Type | Field | Description
    --- | --- | ---

  - ### Constructor Summary

    Constructors
    Constructor | Description
    --- | ---

  - ### Enum Constant Summary

    Enum Constants
    Enum Constant | Description
    --- | ---

  - ### 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`

- - ### Constructor Detail

  - ### 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.