Product: Android Native SDK
Product Version: 9.2.3
Please give a brief summary of your issue:
Access PDFTron default menu share and print functionality from custom menu
Please describe your issue and provide steps to reproduce it:
I’m using a custom menu:
val fragment = ViewerBuilder2.withUri(Uri.parse(link))
.usingCustomToolbar(
intArrayOf(
if (isTask) R.menu.task_file_menu
else R.menu.file_viewer_menu
)
)
.usingConfig(config)
.build(it)
fragment.addHostListener(this)
When I open up my custom menu it looks like this:
I am trying to hook up my “share” and “print” button with the PDFTron Fragment’s share and print code. If I cannot, how can I grab the File
that the Fragment downloaded so I can call custom code on my end to export it?
Thanks
Please provide a link to a minimal sample where the issue is reproducible: