SkiaSharp.Extended
SkiaSharp.Extended copied to clipboard
[QUESTION] SKLottieView - Animation speed
Just wondering how can I set the animation speed. Would be cool to have a property to set it.
Just came across this issue migrating from XF
Not ideal, but i found a workaround. You can manually animate the progress in the codebehind like this
new Animation(
d => AnimationView.Progress = TimeSpan.FromMilliseconds(d),
0,
AnimationView.Duration.TotalMilliseconds,
Easing.Linear
).Commit(AnimationView, "Accept", length: 500);
AnimationView is my SKLottieView. Then you just have to adjust length to taste. Hope it helps you <3