pdfFragmentTag

Sets a custom fragment tag to be used with the internal PdfFragment. This is required when trying to host multiple fragments in the same view hierarchy.

Note: When this is set to anything other than null we make the assumption that this PdfUiFragment will be used next to other PdfUiFragment instances and special handling of the toolbar will be applied.

Namely, when onCreateOptionsMenu, onPrepareOptionsMenu, or onOptionsItemSelected is called, the menu parameter will be ignored and we always use the menu provided by the main toolbar that is part of the view hierarchy.

Parameters

pdfFragmentTag

The custom fragment tag to use, or null for the default fragment tag.