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.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-07-16 UTC."],[],[],null,["# androidx.pdf.view\n=================\n\n*** ** * ** ***\n\nKotlin \\|[Java](/reference/androidx/pdf/view/package-summary \"View this page in Java\")\n\nInterfaces\n----------\n\n|--------------------------------------------------------------------------------------------------------------------|-------------------------------------------------------------------------------------------------------------------------------------------|\n| [PdfView.LinkClickListener](/reference/kotlin/androidx/pdf/view/PdfView.LinkClickListener) | Listener interface for handling clicks on links in a PDF document. |\n| [PdfView.OnGestureStateChangedListener](/reference/kotlin/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/kotlin/androidx/pdf/view/PdfView.OnSelectionChangedListener) | Listener interface to receive updates when the [currentSelection](/reference/kotlin/androidx/pdf/view/PdfView#currentSelection()) changes |\n| [PdfView.OnViewportChangedListener](/reference/kotlin/androidx/pdf/view/PdfView.OnViewportChangedListener) | Listener interface to receive changes to the viewport, i.e. the window of visible PDF content |\n| [Selection](/reference/kotlin/androidx/pdf/view/Selection) | Represents PDF content that has been selected |\n\nClasses\n-------\n\n|--------------------------------------------------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| [Highlight](/reference/kotlin/androidx/pdf/view/Highlight) | Represents an [area](/reference/kotlin/androidx/pdf/view/Highlight#area()) that should be highlighted with [color](/reference/kotlin/androidx/pdf/view/Highlight#color()). |\n| [PdfView](/reference/kotlin/androidx/pdf/view/PdfView) | A [View](https://developer.android.com/reference/android/view/View.html) for presenting PDF content, represented by [PdfDocument](/reference/kotlin/androidx/pdf/PdfDocument). |\n| [TextSelection](/reference/kotlin/androidx/pdf/view/TextSelection) | Represents text content that has been selected |"]]