cache_lottie_network

Creator: coderz1093

Last updated:

0 purchases

cache_lottie_network Image
cache_lottie_network Images

Languages

Categories

Add to Cart

Description:

cache lottie network

Hope this package can help us to save our lottie network animation to our local Storage.
Goal of this package :
Helping us to save animation byte data when we using Lottie Network. So, when the device did'nt connect to WIFI or Mobile Data. The Apps gonna show the animation before.
What u need TO DO :

Set your Lottie URL (Json FORMAT) :
example : 'https://cache_lottie_network.json
Set your Widget :
I Recommend you to using Widget like "Circular Progress Indicator" or "SkeletonAvatar". Because this widget gonna show when :

Your device already didnt have a connection before you load the animation before.
Your local storage in this package is null and you didnt have connection


Set your Keys :
Why ? Because this package using local storage and need keys !
If you using this package more than one, never use the same keys.
example :

CacheLottieNetwork(
LottieUrl : "https://loremipsum.json"
function : "CircularProgressIndicator()"
keys : "lottie1"
)
CacheLottieNetwork(
LottieUrl : "https://loremipsum.json"
function : "CircularProgressIndicator()"
keys : "lottie2"
)

License

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Files In This Product:

Customer Reviews

There are no reviews.