public void Resume()
 {
     LottieAnimation.Loop = false;
     LottieAnimation.PlayFrameSegment(277, 435);
     Task.WaitAll();
     PopupNavigation.Instance.PushAsync(new Page2());
 }
 private void LottieAnimation_OnFinish(object sender, EventArgs e)
 {
     Task.WaitAll();
     LottieAnimation.Pause();
     PopupNavigation.Instance.PushAsync(new Page1());
     Task.WaitAll();
     if (enable == false)
     {
         LottieAnimation.PlayFrameSegment(82, 277);
         LottieAnimation.Loop = true;
         enable = true;
     }
 }
Beispiel #3
0
 private void LottieAnimation_OnFinish(object sender, EventArgs e)
 {
     LottieAnimation.PlayFrameSegment(82, 300);
     LottieAnimation.Loop = true;
 }
Beispiel #4
0
 public void StartAnimation()
 {
     PopupNavigation.Instance.PushAsync(new Page3());
     LottieAnimation.Loop = false;
     LottieAnimation.PlayFrameSegment(0, 82);
 }
 public void StartAnimation()
 {
     LottieAnimation.Loop = false;
     enable = false; LottieAnimation.PlayFrameSegment(0, 82);
 }