Hi,
I implemented pdfviewer to xamarin forms and it is working well. I just want to ask on how or what is the proper way of loading a pdf document from device storage. I can't get my code work. This is my sample code snippet:
protected override void OnAppearing()
{
base.OnAppearing();
var root = Android.OS.Environment.ExternalStorageDirectory.AbsolutePath;
var path = Path.Combine(root.ToString(), "Sample.pdf");
//Loads the PDF document as Stream to PDF viewer control
pdfViewerControl.LoadDocument(path);