activity Class
Sets a custom activity class used for document display. The activity must extend InstantPdfActivity and must be registered in the AndroidManifest.xml. If null is passed, the default InstantPdfActivity will be used for document display.
Return
Builder for InstantPdfActivityIntentBuilder with set activity subclass.
Parameters
activity Class
Custom InstantPdfActivity subclass, or null for the default activity to be used.