[Feature request] initialize a LottieAnimationView with a remote url directly
See original GitHub issueWould like to have a way to initialize a LottieAnimationView with a remote url directly, which is available in lottie-ios as initWithContentsOfURL.
In the sample app, private void loadUrl(String url) { ... } loads the json file and passes the parsed json string to the private void loadJsonString(String jsonString) { ... } method. Why not put that logic inside lottie?
Issue Analytics
- State:
- Created 6 years ago
- Comments:13
Top Results From Across the Web
Lottie Docs
Lottie is a library for Android, iOS, Web, and Windows that parses Adobe After Effects animations exported as json with Bodymovin and renders...
Read more >How to use lottie animation in flutter app? - Stack Overflow
It is a direct port of Lottie-Android and support the same set of features. ... Load a Lottie file from a remote url...
Read more >Using Lottie Android · Lottie Documentation - salihabdul-karim1
The sample app includes some built in animations but also allows you to load an animation from internal storage or from a url....
Read more >How to Implement Dynamic Loader with Lottie and Firebase
We will first create AnimationView instance and load it with default fail safe loader. We will first download the Lottie URL from Remote...
Read more >androidtutorial – Be Thinker, Be Coder
Hello Friends, Here I Make Imageview for use in Sticker functionality. It's Apply For only Imageview,. How to Use this : In XML...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

OK never mind. Basic usage can be as such:
Could be nice to know how to do it more nicely though.
Yep. Been using it for a couple of days and no issues so far.