-
public interface LottieNetworkFetcherImplement 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 LottieFetchResultfetchSync(@NonNull() String url)-
-
Method Detail
-
fetchSync
@WorkerThread()@NonNull() abstract LottieFetchResult fetchSync(@NonNull() String url)
-
-
-
-