private void cancelLoaderTask() {
    if (compositionTask != null) {
      compositionTask.removeListener(loadedListener);
      compositionTask.removeFailureListener(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