LottieUWP embedded into Xamarin.Forms
问题 I made a custom renderer for LottieUWP [assembly: ExportRenderer(typeof(LottieView), typeof(LottieViewRenderer))] namespace Gorilla.Forms.UWP.Source.Renderer.Lottie { public class LottieViewRenderer : ViewRenderer<LottieView, LottieAnimationView> { private LottieAnimationView AnimationView; protected override void OnElementChanged(ElementChangedEventArgs<LottieView> e) { base.OnElementChanged(e); if (Control == null) { if (e.NewElement == null) return; AnimationView = new LottieAnimationView(