Package 

Interface LottieNetworkFetcher


  • 
    public interface LottieNetworkFetcher
    
                        

    Implement this interface to handle network fetching manually when animations are requested via url. By default, Lottie will use an java.net.HttpURLConnection under the hood but this enables you to hook into your own network stack. By default, Lottie will also handle caching the animations but if you want to provide your own cache directory, you may implement LottieNetworkCacheProvider.

    • Method Summary

      Modifier and Type Method Description
      abstract LottieFetchResult fetchSync(@NonNull() String url)
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait