Interface SubsamplingScaleImageView.OnAnimationEventListener
-
- All Implemented Interfaces:
public interface SubsamplingScaleImageView.OnAnimationEventListenerAn 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.
-
-
Method Summary
Modifier and Type Method Description abstract voidonComplete()The animation has completed, having reached its endpoint. abstract voidonInterruptedByUser()The animation has been aborted before reaching its endpoint because the user touched the screen. abstract voidonInterruptedByNewAnim()The animation has been aborted before reaching its endpoint because a new animation has been started. -
-
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.
-
-
-
-