public static LottieTask<LottieComposition> fromUrl(final Context context, final String url, @Nullable final String cacheKey) {
    return cache(cacheKey, () -> {
      LottieResult<LottieComposition> result = L.networkFetcher(context).fetchSync(context, url, cacheKey);
      if (cacheKey != null && result.getValue() != null) {
        LottieCompositionCache.getInstance().put(cacheKey, result.getValue());
      }
      return result;
    }, null);
  }
Fetch an animation from an http url. Once it is downloaded once, Lottie will cache the file to disk for
future use. Because of this, you may call `fromUrl` ahead of time to warm the cache if you think you
might need an animation in the future.
lottie/src/main/java/com/airbnb/lottie/LottieCompositionFactory.java