If we want to use the mode "DISABLE_CACHE", when we slide in the direction of the bottom of the document, we see the pages (they are drawn), but when we go back to the top of the document, the page are not drawn (they are not in cache, because we choose DISABLE_CACHE mode)
In file PdfViewerActivity
line 118 (version july 2025)
fun launchPdfFromPath(
context: Context?,
path: String?,
pdfTitle: String?,
saveTo: saveTo,
fromAssets: Boolean = false,
enableZoom: Boolean = true,
toolbarTitleBehavior: ToolbarTitleBehavior? = null,
cacheStrategy: CacheStrategy = CacheStrategy.DISABLE_CACHE //MAXIMIZE_PERFORMANCE
If we want to use the mode "DISABLE_CACHE", when we slide in the direction of the bottom of the document, we see the pages (they are drawn), but when we go back to the top of the document, the page are not drawn (they are not in cache, because we choose DISABLE_CACHE mode)
In file PdfViewerActivity
line 118 (version july 2025)