Package com.pspdfkit.ui
UI components (activities, fragments and views).
See: Description
-
Class Summary Class Description PdfActivity Activity with fully integrated views and behaviour. PopupToolbar A class used for displaying a toolbar as a popup. PdfDocumentInfoView PdfFrameLayout Custom implementation of framework FrameLayout that correctly supports window insets. PdfFragment Fragment that actually displays the PDF document. PdfActivityIntentBuilder Builder used for creating an intent for starting PdfActivity. ViewStatePagerAdapter A simple implementation of PagerAdapter that automatically saves and restores view states when returning to pages previously removed and after view pager's state restoration. LocalizedButton This is a Button that will use registered com.pspdfkit.listeners.LocalizationListener to localize its contents. LocalizedTextView This is a TextView that will use registered com.pspdfkit.listeners.LocalizationListener to localize its contents. DocumentDescriptor Describes a document and its UI state. PdfThumbnailGrid Scrollable grid view of document pages. PdfUiFragmentBuilder Builder used for creating an PdfUiFragment. FloatingHintEditText An AppCompatEditText extension containing a floating hint text, a colored underline and bottom error text. EmptyPdfActivityView The view that is displayed in the PdfActivity when no document is set. PdfPasswordView Password view used when accessing password protected documents. PdfReaderView Reader View component containing a styled web view for showing the reflowed text. AppCompatTextViewTint TextView class that extends support to drawable tint for Android API lower than 23 by using style attribute pspdf__drawableTint
.PdfUiFragment Experimental API - Might change in the future. PdfYouTubeActivity An activity for displaying YouTube content within the PDF. LocalizedEditText This is an EditText that will use registered com.pspdfkit.listeners.LocalizationListener to localize its contents. AnnotationCreatorInputDialogFragment AnnotationCreatorInputDialogFragment facilitates setting the annotation creator. FloatingHintPasswordEditText An AppCompatEditText extension for passwords containing a floating hint text, a colored underline and bottom error text. PdfMediaDialog A dialog used for displaying media playback. PdfFocusRelativeLayout Implements custom focus searching logic to make keyboard navigation in PdfActivity more intuitive. LocalizedSwitch This is a Switch that will use registered com.pspdfkit.listeners.LocalizationListener to localize its contents. OutlinePagerAdapter A state pager adapter controlling the pager items (outline view and annotation list view) that saves and restores View states. PdfOutlineView A layout containing the tab on the top and a view pager for switching between the outline, the list of annotations and the bookmarks. ConvertToDrawable Reactive function that converts a Bitmap to a Drawable with fade effect if needed. PdfThumbnailBar Bar showing thumbnails of pages for quick selection. RecyclableFrameLayout A FrameLayout that dispatches recycle calls to its child views. -
Interface Summary Interface Description OnPopupToolbarItemClickedListener Listener for menu item clicks. PSPDFView Shared interface of all auxiliary views (search view, thumbnail bar, grid, etc. PSPDFKitViews Interface for convenient access to views in a PSPDFKit activity. OnPageClickListener Listener for observing a PdfThumbnailGrid page click. OnDocumentSavedListener Listener for document saving inside PdfThumbnailGrid. EditTextListener Listener interface for events on the FloatingHintEditText. OnDocumentsChangedListener Listener for changes made to documents managed by DocumentCoordinator. OnDocumentVisibleListener Listener for document becoming visible in the DocumentCoordinator. OnDocumentCoordinatorEmptyListener Listener for the last document being removed from the DocumentCoordinator. DocumentCoordinator Coordinates loading and display of multiple documents in com.pspdfkit.ui.PdfActivity. PdfUi The API that is shared between PdfActivity and PdfUiFragment. OnPasswordSubmitListener Listener for entered password being submitted. OnAnnotationCreatorSetListener This listener interface needs to be implemented by any class that wishes to handle AnnotationCreatorInputDialogFragment specific dialog events. PageObjectProvider Base class for com.pspdfkit.ui.drawable.PdfDrawableProvider and . OnAnnotationTapListener Annotation list tap listener. OnOutlineElementTapListener Outline element tap listener. OnEmbeddedFileTapListener Embedded file tap listener. DocumentOutlineProvider Interface to objects that provide outline elements. OnPageChangedListener Listener for receiving page changes caused by the user touching or dragging the . ImmersiveModeCallback -
Enum Summary Enum Description Type Known auxiliary view types.