class PDFViewFragment : Fragment
A Fragment to view PDFs. Based on https://github.com/barteksc/AndroidPdfViewer
TempService |
Coroutine to download a PDF file (or any other file) to a temporary directory if it hasn't been downloaded yet object TempService |
<init> |
A Fragment to view PDFs. Based on https://github.com/barteksc/AndroidPdfViewer PDFViewFragment() |
onCreateView |
Entry point of PDFViewFragment fun onCreateView(inflater: LayoutInflater, container: ViewGroup?, savedInstanceState: Bundle?): View? |
onSaveInstanceState |
Handles saving the instance state of this fragment e.g. when rotating the screen fun onSaveInstanceState(outState: Bundle): Unit |
onViewCreated |
Handles the creation of the views. Displays the PDF fun onViewCreated(view: View, savedInstanceState: Bundle?): Unit |