Some test text!
Event listeners can be added to a
PdfViewCtrlTabHostFragment to listen for document viewer events. This can be done by adding a
PdfViewCtrlTabHostFragment.addHostListener(). Some useful events include:
|Called when document associated with a tab is loaded.|
|Called when the tab host has been shown.|
|Called when the tab host has been hidden.|
|Called when the last tab in the tab host has been closed, and therefore there are no more tabs.|
|Called when a new tab has been selected excluding the initial tab.|
|Called when navigation button has been pressed.|
PdfViewCtrlTabFragment has its own events and and you can listen for them by adding a
PdfViewCtrlTabFragment.setTabListener(). Some useful events include:
|Called when the document has been loaded.|
|Called when a new tab has been opened.|
|Called when the tab fragment is paused.|
|Called when download successfully has been finished.|
Get the answers you need: Support
Get unlimited trial usage of PDFTron SDK to bring accurate, reliable, and fast document processing capabilities to any application or workflow.
Select a platform to get started with your free trial.
Unlimited usage. No email address required.
Join our live demo to learn about use cases & capabilities for WebViewerLearn more