Skip to content

DISABLE_CACHE doesn't work #222

@francoisnicolas

Description

@francoisnicolas

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions