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