Stay organized with collections
Save and categorize content based on your preferences.
Content and code samples on this page are subject to the licenses described in the Content License. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
Last updated 2025-07-16 UTC.
[null,null,["Last updated 2025-07-16 UTC."],[],[],null,["# androidx.pdf.view\n=================\n\n*** ** * ** ***\n\n[Kotlin](/reference/kotlin/androidx/pdf/view/package-summary \"View this page in Kotlin\") \\|Java\n\nInterfaces\n----------\n\n|-------------------------------------------------------------------------------------------------------------|------------------------------------------------------------------------------------------------------------------------------------|\n| [PdfView.LinkClickListener](/reference/androidx/pdf/view/PdfView.LinkClickListener) | Listener interface for handling clicks on links in a PDF document. |\n| [PdfView.OnGestureStateChangedListener](/reference/androidx/pdf/view/PdfView.OnGestureStateChangedListener) | Listener interface to receive callbacks when the PdfView starts and stops being affected by an external input like user touch. |\n| [PdfView.OnSelectionChangedListener](/reference/androidx/pdf/view/PdfView.OnSelectionChangedListener) | Listener interface to receive updates when the [currentSelection](/reference/androidx/pdf/view/PdfView#currentSelection()) changes |\n| [PdfView.OnViewportChangedListener](/reference/androidx/pdf/view/PdfView.OnViewportChangedListener) | Listener interface to receive changes to the viewport, i.e. the window of visible PDF content |\n| [Selection](/reference/androidx/pdf/view/Selection) | Represents PDF content that has been selected |\n\nClasses\n-------\n\n|-------------------------------------------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| [Highlight](/reference/androidx/pdf/view/Highlight) | Represents an [area](/reference/androidx/pdf/view/Highlight#area()) that should be highlighted with [color](/reference/androidx/pdf/view/Highlight#color()). |\n| [PdfView](/reference/androidx/pdf/view/PdfView) | A [View](https://developer.android.com/reference/android/view/View.html) for presenting PDF content, represented by [PdfDocument](/reference/androidx/pdf/PdfDocument). |\n| [TextSelection](/reference/androidx/pdf/view/TextSelection) | Represents text content that has been selected |"]]