PdfUiFragment

This fragment provides the same UI as PdfActivity. It can be used inside any view hierarchy but use is limited to one instance per Activity, unless pdfFragmentTag is used to set a unique fragment tag for each instance.

Inheritors

Constructors

Link copied to clipboard
constructor()

Properties

Link copied to clipboard
open val implementation: PdfUiImpl
The current implementation of the PDF UI.

Functions

Link copied to clipboard
Returns the PdfActivityConfiguration that was provided while launching this pdf UI.
Link copied to clipboard
open fun onActivityResult(requestCode: Int, resultCode: Int, data: Intent)
Link copied to clipboard
Call this from your activity to properly close the UI when pressing back.
Link copied to clipboard
Link copied to clipboard
open fun onCreateOptionsMenu(@NonNull menu: Menu, @NonNull inflater: MenuInflater)
Link copied to clipboard
open fun onCreateView(@NonNull inflater: LayoutInflater, @Nullable container: ViewGroup, @Nullable savedInstanceState: Bundle): View
Link copied to clipboard
open fun onDestroy()
Link copied to clipboard
Link copied to clipboard
open fun onGetShowAsAction(menuItemId: Int, defaultShowAsAction: Int): Int
Link copied to clipboard
Link copied to clipboard
open fun onPause()
Link copied to clipboard
Link copied to clipboard
open fun onResume()
Link copied to clipboard
open fun onSaveInstanceState(@NonNull outState: Bundle)
Link copied to clipboard
Called when activity title must be set - before and after document was loaded.
Link copied to clipboard
open fun onStart()
Link copied to clipboard
open fun onStop()
Link copied to clipboard
Called when user interface visibility have changed.
Link copied to clipboard
Replaces activity configuration.