johngray1965 / PdfiumAndroidKt

Pdfium Android binding with Bitmap rendering ( >= API 21 )
Other
31 stars 12 forks source link

Remove @Deprecated functions #8

Closed AhmerAfzal1 closed 1 year ago

AhmerAfzal1 commented 1 year ago

Please remove @Deprecated functions, and create new functions to use without Deprecation

johngray1965 commented 1 year ago

There are already new functions. The @Deprecated are legacy api's. Kotlin @Deprecated gives migration options. The point of this is help people migrate from https://github.com/barteksc/PdfiumAndroid to this project. The things that marked @Deprecated are APIs that the old project had. They had almost everything coming off PdfiumCore. In this project, PdfiumCore just opens documents, all the operations on document are off of PdfDocument. Likewise the page operations are on PdfPage, and text operations on PdfTextPage. All of this was very intentional.