private void PlaybackFinishedIfProgressReachesOne(object sender, ValueAnimator.ValueAnimatorUpdateEventArgs e) { if (((LottieValueAnimator)e.Animation).AnimatedValueAbsolute >= 1) { Element.PlaybackFinished(); } }
private void _lottieDrawable_AnimatorUpdate(object sender, ValueAnimator.ValueAnimatorUpdateEventArgs e) { //Trace.WriteLine($"AnimatorUpdate Frame:{_lottieDrawable.Frame}"); skglControl1.Invalidate(); }