Please give a brief summary of your issue: Need callback after the file is loaded in Pdfviewctrl using PdfViewCtrlTabHostFragment2
(Think of this as an email subject)
Please describe your issue and provide steps to reproduce it:
I need to call mPdfDoc?.fdfMerge(fdf), what is the callback after the file is loaded in the fragment ?
(The more descriptive your answer, the faster we are able to help you)
Please provide a link to a minimal sample where the issue is reproducible:
We have a callback for when a document is loaded called onTabDocumentLoaded(String tag). To access this callback you need to add a HostListener to your PdfViewCtrlTabHostFragment.
Please see sample Kotlin code below
mPdfViewCtrlTabHostFragment.addHostListener(object : PdfViewCtrlTabHostFragment2.TabHostListener {
override fun onTabDocumentLoaded(tag: String?) {
//Called when the document has loaded.
}
})