-
Notifications
You must be signed in to change notification settings - Fork 84
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
do you have it on Xamarin? #9
Comments
For those interested, I am attempting to make a C# wrapper for this library with Visual Studio to use in Xamarin. I'm running into problems. I started out by creating a binding project (https://docs.microsoft.com/en-us/xamarin/android/platform/binding-java-library/binding-an-aar). The reference shows up in the list and I'm able to open it in the Object Browser and I pretty well see everything. When writing the code, the auto-complete feature of VS seems to find all the paths just fine. I added the element to the layout as the AndroidPdfViewerV2 instructions suggest, and again the auto-complete when adding the element into the axml file found the correct path ("com.github.barteksc.pdfviewer.PDFView"). My project builds, and runs, but when I try to open a pdf it gets stuck here:
Any help in this would be appreciated. |
The above issue was because I didn't also wrap the core library (PdfiumAndroid) that this library accesses.
|
I figured this out an posted about it here: DImuthuUpe/AndroidPdfViewer#782 (comment) |
please create one for xamarin native android
The text was updated successfully, but these errors were encountered: