mshockwave/PdfiumAndroid ? reverse-engineered prompt
Reverse engineered prompt
Build me an Android library that wraps Pdfium so apps on API 9 and up can open and read PDF files.
I want a simple binding that makes it easy to load a PDF, get page count, open a page, render pages, and close everything cleanly. Please keep it lightweight and focused on working well inside Android projects, with the native C++ side handled properly.
If you need to check current Android or Pdfium docs while wiring it up, go ahead. Also include a small example of how someone would use it in an app, and make sure the project is set up so it can be built and used as a reusable library.
Are you gonna build this?
make sure you review the code using coderabbit