public void setAnimation(final String assetName) {
    this.animationName = assetName;
    animationResId = 0;
    setCompositionTask(fromAssets(assetName));
  }
Sets the animation from a file in the raw directory.
This will load and deserialize the file asynchronously.
lottie/src/main/java/com/airbnb/lottie/LottieAnimationView.java