Welcome to the Xamarin.Forms feedback portal. We’re happy you’re here! If you have feedback on how to improve the Xamarin.Forms, we’d love to hear it!>
Thanks for joining our community and helping improve Syncfusion products!
Hi
I have to come back to this problem, signaled with this ticket
https://www.syncfusion.com/feedback/19103/nullreferenceexception-when-call-unload
but actually in "Declined - Cannot Reproduce" state.
Now I am able to reproduce it.
Occurs only on UWP, iOS and Android works as expected.
The stack trace says:
in Syncfusion.SfPdfViewer.XForms.UWP.SfPdfViewerControl.ScrollToPage (Int32 pageNumber)
in Syncfusion.SfPdfViewer.XForms.UWP.PdfViewerDependencyServices.ScrolltoPage (Object nativeObject, Int32 pageNumber)
in Syncfusion.SfPdfViewer.XForms.SfPdfViewer.OnPageNumberChanged (BindableObject bindable, Object oldValue, Object newValue)
in Xamarin.Forms.BindableObject.SetValueActual (BindableProperty property, BindablePropertyContext context, Object value, Boolean currentlyApplying, SetValueFlags attributes, Boolean silent)
in Xamarin.Forms.BindableObject.SetValueCore (BindableProperty property, Object value, SetValueFlags attributes, SetValuePrivateFlags privateAttributes)
in Xamarin.Forms.BindableObject.SetValue (BindableProperty property, Object value, Boolean fromStyle, Boolean checkAccess)
in Syncfusion.SfPdfViewer.XForms.SfPdfViewer.set_PageNumber (Int32 value)
in Syncfusion.SfPdfViewer.XForms.SfPdfViewer.Unload ()
in GettingStarted.PdfPage.OnDisappearing () in C: \ Users \ info \ Downloads \ GettingStarted-1029745208 \ GettingStarted \ GettingStarted \ PdfPage.xaml.cs: line 51