SkiaSharp is a cross-platform, comprehensive 2D graphics API for all .NET platforms. And, here is where you will find all sorts of extras that you can use with it.
This PR adds an AnimationCompleted event to SKLottieView to indicate when the animation is no longer playing.
This event fires after the IsComplete is set to true and thus means that it only fires after all the repeats are finished. So an infinite repeating animation will never be complete nor will the event fire. But for a X repeat (including 0 repeats) animation, the event will fire after all the repeats have happened.
Bugs Fixed
Fixes #161
API Changes
Added:
class SKLottieView {
event EventHandler AnimationCompleted;
}
Behavioral Changes
PR Checklist
[x] Has tests (if omitted, state reason in description)
[x] Has samples (if omitted, state reason in description)
Description of Change
This PR adds an
AnimationCompleted
event toSKLottieView
to indicate when the animation is no longer playing.This event fires after the
IsComplete
is set totrue
and thus means that it only fires after all the repeats are finished. So an infinite repeating animation will never be complete nor will the event fire. But for a X repeat (including 0 repeats) animation, the event will fire after all the repeats have happened.Bugs Fixed
API Changes
Added:
Behavioral Changes
PR Checklist