Closed kirillt closed 1 year ago
Right now, we use https://github.com/barteksc/PdfiumAndroid for rendering PDF previews. The library is loaded per each document instead of loading it once per batch, because it doesn't have API to re-use instance several times.
We should consider alternatives: https://pspdfkit.com/guides/android/viewer/kotlin/ https://developer.android.com/reference/android/graphics/pdf/PdfRenderer.html https://github.com/pdf-rs/pdf
Testing data: https://www.taran.space/dev/TEST_PDF.zip
https://github.com/ARK-Builders/ARK-Navigator/pull/329
Right now, we use https://github.com/barteksc/PdfiumAndroid for rendering PDF previews. The library is loaded per each document instead of loading it once per batch, because it doesn't have API to re-use instance several times.
We should consider alternatives: https://pspdfkit.com/guides/android/viewer/kotlin/ https://developer.android.com/reference/android/graphics/pdf/PdfRenderer.html https://github.com/pdf-rs/pdf