Questions tagged [lottie]

Questions regarding Airbnb's Lottie, a library for rendering After Effects animations in real-time. Use this tag for questions regarding implementations using the Android, iOS, or React-based branches of Lottie.

Lottie allows adding animation to any native app.

Lottie is an iOS, Android, and React Native library that renders After Effects animations in real time, allowing apps to use animations as easily as they use static images.

Site: https://airbnb.design/lottie/

836 questions
0
votes
1 answer

Imitate SVProgressHUD behavior

I`ve implemented a UIView that display a CustomLottie in the center of the screen, it has show() and hide() methods. How can I give it the ability of hide() it from another place than where show() was called?? This is the code: class…
0
votes
0 answers

How do I sync lottie animation with TTS function (Xam.Plugins.TextToSpeech)

I am creating an app with Text-to-Speech functionality. The TTS function works 100% fine, but when I add audio wave animation using lottie the tts function and animation does not process well. When a user clicks the button, the text inside my editor…
paraJdox1
  • 805
  • 9
  • 23
0
votes
1 answer

How can I prevent an import in App.js if browser is Internet Explorer 11

I'm using Vue.js for a project, unsurprisingly there are issues in IE11. I narrowed down the issue, and it seems it's a problem with a plugin/component I'm using named "lottie-vuejs". In IE11 I get an error: SCRIPT1009: Expected '}' When I click…
ImranR
  • 516
  • 2
  • 13
  • 30
0
votes
1 answer

How to listen for lottie animation end from activity

I have activity that contain fragment. This fragment have a lottie animation with lottie_loop="false", that means, once the animation finish first loop , the animation will be and. I want to listen for this event(animation end) in activity that…
Michael
  • 429
  • 5
  • 22
0
votes
1 answer

Change between views on SwiftUI within NavigationView

today I'm trying to navigate between 2 different views but I want to use the same view cleaning the info from the previous view. I created a MotherView to invoke 2 different view. Here's my code import SwiftUI struct MotherView: View { …
Antonio Labra
  • 1,694
  • 2
  • 12
  • 21
0
votes
2 answers

How can I use javascript to make it so the user can only trigger the hover event once the Lottie animation has played in full?

How can I make it so the user is only able to trigger the mouse hover & mouse left events, once the Lottie animation has initially played in full. Currently the user is able to cause the hover event when the animation is mid-playing, something I…
Toby Mardles
  • 85
  • 2
  • 10
0
votes
0 answers

Android Lottie Animation does not auto start when set visible with Epoxy / DataBinding

I'm using Lottie and Epoxy in my Android project with DataBinding. I would like to start animation with LottieImageView when RecyclerView is snapped, but LottieImageView does not start animation, while it is set to autoPlay=true. The Epoxy…
MikakoTabe
  • 105
  • 1
  • 7
0
votes
0 answers

How can i pass Ionic MultiDex Error when android build?

I added LottieSplashScreen to my Project but i can't build. This error Execution failed for task ':app:transformClassesWithMultidexlistForRelease'. > com.android.build.api.transform.TransformException: Error while generating the main dex list.
0
votes
1 answer

slider controlling Lottie animation with Javascript

I have a question: Is there a way to control a Lottie animation using a slider in Javascript? I've tried triggering the animation using a simple button and that works. I'm using a physical slider (potentiometer) with an Arduino, so the slider gives…
Arthur Robaeys
  • 327
  • 3
  • 15
0
votes
0 answers

Lottie Animation stopped working when I want to save something in CoreData

I want to download data from Firebase Database and save it into CoreData. Because this takes a few seconds I wanted to present a Lottie animation during the downloading and saving process. The animation works, but during this process the app doesn't…
0
votes
1 answer

ContentLoadingProgressBar behviour on custom animation acquired from Lottie

You know the the reason why we need the ContentLoadingProgressBar. I have my animation loaded from Lottie as json. It is working pretty good. My problem is that I would like my Lottie-imported animation to behave the same as…
Azizjon Kholmatov
  • 1,136
  • 1
  • 13
  • 26
0
votes
2 answers

lottie animations is nil in ios

I'm trying to use Lottie animations inside my ios app but I can't get them to work. I've seen people use LOTAnimationViews but I can't import or use this class. I've added an Animation folder with my animations in. ViewController: class…
Mout Pessemier
  • 1,665
  • 3
  • 19
  • 33
0
votes
3 answers

Xamarin Forms Lottie image not displaying

I have Xamarin Forms application. I need to put image as json in project. Here is XAML:
YoungEddie
  • 405
  • 7
  • 26
0
votes
1 answer

How to pass import as props parameters in React JS

I use react-lotties and i want to put differents animations in many div changing only the url of lotties I am a react beginner, be kind please :) this is my script : My lotties Component : import React, { Component } from "react" import…
Tedajo Philippe
  • 400
  • 5
  • 20
0
votes
1 answer

generic class Lottie swift

I'm new in Swift, I come from objc .. in fact I need to do a classse in Swift "generic" to be called by my controller of the project done in objc. specifically I have to "replace" the few lines of code in the "Lottie" library for the animations of…
user12147631