As the API documentation page for AnimationStateListener complete states, it is only called upon completion of a loop. You may want to use AnimationStateListener end instead if you also want to trigger when it is interrupted or removed.
Please note that you can subscribe to multiple animation state events at the same time, so Complete
as well as End
.