When changing the MainPage of the app while an animation view is on screen an InvalidOperationException is thrown. Details below.
Cannot assign a native control without an Element; Renderer unbound and/or disposed. Please consult Xamarin.Forms renderers for reference implementation of OnElementChanged.
at Xamarin.Forms.Platform.UWP.VisualElementRenderer`2.SetNativeControl(TNativeElement control)
at Lottie.Forms.UWP.Renderers.AnimationViewRenderer.d4.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.AsyncMethodBuilderCore.<>c.b6_0(Object state)
at System.Threading.WinRTSynchronizationContextBase.Invoker.InvokeCore()
When changing the MainPage of the app while an animation view is on screen an InvalidOperationException is thrown. Details below.
Cannot assign a native control without an Element; Renderer unbound and/or disposed. Please consult Xamarin.Forms renderers for reference implementation of OnElementChanged.
at Xamarin.Forms.Platform.UWP.VisualElementRenderer`2.SetNativeControl(TNativeElement control) at Lottie.Forms.UWP.Renderers.AnimationViewRenderer.d4.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.AsyncMethodBuilderCore.<>c.b 6_0(Object state)
at System.Threading.WinRTSynchronizationContextBase.Invoker.InvokeCore()
Reproduction Link: https://drive.google.com/open?id=10B2Qhbe4MPyBaOBzn4emdCYmWSDgltBh