create Instance
Factory method for creating a new instance of the Fragment using the provided document.
Note: Always use this method to create new instances. Document is required and an exception is thrown if it's missing.
Return
a new instance of the Fragment
Parameters
document
must be the Document from onDocumentAvailable