How to disable 'Document Slider'

Product: PDFTron Android SDK

Product Version:
Please give a brief summary of your issue:
(Think of this as an email subject)
I would like to hide ‘Document Slider’ appears on the ‘Document Viewer’

Please describe your issue and provide steps to reproduce it:
(The more descriptive your answer, the faster we are able to help you)
Open any document in ‘Document viewer’ which has more than 1 pages, ‘Document Slider’ appears on the right of the screen, We would like to hide that.

Please provide a link to a minimal sample where the issue is reproducible:

Hello, I’m Ron, an automated tech support bot :robot:

While you wait for one of our customer support representatives to get back to you, please check out some of these documentation pages:


Hi there,

If you are using the fragment viewer, the slider can be disabled in ViewerConfig, which can be configured following this guide:

You can disable the document slider using the showDocumentSlider API from ViewerConfig.


Please let us know if the solution works best for you!

Warm Regards,


Hi @dchan . We have tried adding ‘ViewerConfig.showDocumentSlider(false)’, even though the slider was still visible. Kindly share if any alternative.
ex: .showDocumentSlider(false)


I was able to successfully hide the document slider using ViewerConfig.showDocumentSlider(false) in our samples. For an example, please refer to this screenshot:

Could you provide me a sample project with your ViewerConfig configuration that demonstrates the use of the showDocumentSlider API so we can take a closer look?

Warm Regards,