private void setCompositionTask(LottieTask<LottieComposition> compositionTask) {
    LottieResult<LottieComposition> result = compositionTask.getResult();
    LottieDrawable lottieDrawable = this.lottieDrawable;
    if (result != null && lottieDrawable == getDrawable() && lottieDrawable.getComposition() == result.getValue()) {
      return;
    }
    userActionsTaken.add(UserActionTaken.SET_ANIMATION);
    clearComposition();
    cancelLoaderTask();
    this.compositionTask = compositionTask
        .addListener(loadedListener)
        .addFailureListener(wrappedFailureListener);
  }
Set a drawable that will be rendered if the LottieComposition fails to load for any reason.
Unless you are using {@link #setAnimationFromUrl(String)}, this is an unexpected error and
you should handle it with {@link #setFailureListener(LottieListener)}.
<p>
If this is a network animation, you may use this to show an error to the user or
you can use a failure listener to retry the download.
lottie/src/main/java/com/airbnb/lottie/LottieAnimationView.java