private synchronized void notifySuccessListeners(T value) {
    // Allows listeners to remove themselves in onResult.
    // Otherwise we risk ConcurrentModificationException.
    List<LottieListener<T>> listenersCopy = new ArrayList<>(successListeners);
    for (LottieListener<T> l : listenersCopy) {
      l.onResult(value);
    }
  }
Remove a given task failure listener. The task will continue to execute so you can re-add
a listener if necessary.

@return the task for call chaining.
lottie/src/main/java/com/airbnb/lottie/LottieTask.java