We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date
close icon

PdfViewer crash when is inside SfNavigationDrawer.ContentView on Android

Hello!

I add SfPdfViewer inside SfNavigationDrawer.ContentView and in SfNavigationDrawer.DrawerContentView I have two buttons.
On each button click I load pdf file to SfPdfViewer. When I click on button first time SfPdfViewer show pdf file but on second click (on any button) I have an exception:

System.ObjectDisposedException: Cannot access a disposed object.
Object name: 'Syncfusion.SfPdfViewer.XForms.Droid.ScrollViewEx'.

On iOS it works fine.

Sample project in attachments.

Attachment: GettingStarted_74563c07.zip

2 Replies

SS Sathish Sivakumar Syncfusion Team April 5, 2019 11:52 AM UTC

Hi Alexandr,

Greetings from Syncfusion.

We are able to reproduce the issue "ObjectDisposedException thrown when loading the PDF document in SfPdfViewer which is placed in SfNavigationDrawer" in our side and we suspect this to be a defect. We have forwarded this issue to our development team for further analysis and will update more details on 09-April-2019.

Regards,
Sathish


SS Sathish Sivakumar Syncfusion Team April 10, 2019 11:51 AM UTC

Hi Alexandr,

We have confirmed that the issue “ObjectDisposedException thrown when loading the PDF document in SfPdfViewer which is placed in SfNavigationDrawer” is a defect. The fix for this issue will be included in our 2019 Vol 1 SP 1 release and it is expected to be available in the mid of May 2019.

Regards,
Sathish


Loader.
Live Chat Icon For mobile
Up arrow icon