We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I think we need a snippet like this:
AnimatorUpdateListener updateListener = new AnimatorUpdateListener() { @Override public void onAnimationUpdate(ValueAnimator animator) { onFinish.call(getKrollObject(), new KrollDict()); } }; lottieView.addAnimatorUpdateListener(updateListener);
inside private class.
The text was updated successfully, but these errors were encountered:
Sorry, didn't get any notification for the issues 😞
Started to work on the listener part: https://github.com/m1ga/ti.animation/blob/master/android/src/ti/animation/LottieViewProxy.java#L86 (not working yet, will finish it soon)
Sorry, something went wrong.
O I see, it is new since yesterday.
Added update property:
update
var view = TiAnimation.createLottieView({ file: 'sample_lottie.json', loop: false, bottom: 300, height: 120, width: 120, borderRadius: 60, update: onUpdate, autoStart: false }); function onUpdate(e){ console.log("Percentage: " + e.percentage); }
Will expose the animationStart etc. soon
m1ga
No branches or pull requests
I think we need a snippet like this:
inside private class.
The text was updated successfully, but these errors were encountered: