Interface AnimationListener


public interface AnimationListener
Interface which can be used to run some code when particular animation event occurs.
  • Method Summary

    Modifier and Type Method Description
    void onAnimationCompleted​(int loopNumber)
    Called when a single loop of the animation is completed.
  • Method Details

    • onAnimationCompleted

      void onAnimationCompleted​(int loopNumber)
      Called when a single loop of the animation is completed.
      Parameters:
      loopNumber - 0-based number of the completed loop, 0 for infinite animations