getPdfFragment

Returns the that is used to show the document.

Overridden because the inherited default reads the implementation unconditionally, which does not exist until onCreateView has run. A fragment without a view displays no document, so it reports null as documented rather than throwing.