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
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

PdfViewer crash when is inside SfNavigationDrawer.ContentView on Android

Thread ID:





143778 Apr 4,2019 03:36 PM UTC Apr 10,2019 11:51 AM UTC Xamarin.Forms 2
Tags: PdfViewer
Alexandr Mykhailov
Asked On April 4, 2019 03:42 PM UTC


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

Sathish Sivakumar [Syncfusion]
Replied On 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.


Sathish Sivakumar [Syncfusion]
Replied On 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.



This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

Live Chat Icon For mobile
Live Chat Icon