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.
I'm developer of MPowerKit.Popups library. And one of the users of this library experiencing an issue, when he has lottie animation in that popup and tries to open popup and the animation is not started for the first opening. but if user closes popup and open again the animation is started. Other views being rendered in the popup as expected all the time
There is workaround that forces to start lottie animation in the codebehind of the popup, that works, but it is ugly. Shortly, you can add the lottie animation view to the view tree from the codebehind after task delay. that code is below
Description
I'm developer of MPowerKit.Popups library. And one of the users of this library experiencing an issue, when he has lottie animation in that popup and tries to open popup and the animation is not started for the first opening. but if user closes popup and open again the animation is started. Other views being rendered in the popup as expected all the time
There is workaround that forces to start lottie animation in the codebehind of the popup, that works, but it is ugly. Shortly, you can add the lottie animation view to the view tree from the codebehind after task delay. that code is below
Related issues: https://github.com/MPowerKit/Popups/issues/1 https://github.com/mono/SkiaSharp.Extended/issues/264
Code
Expected Behavior
The animation started each time user opens the popup
Actual Behavior
The animation is not being started for the first time, after closing the popup and opening again the animation is being started.
Basic Information
Reproduction Link
LottiePopupTest.zip