PdfSearchViewModular

class PdfSearchViewModular : AbstractPdfSearchView, PSPDFKitViews.PSPDFView

Search view sitting inside a panel that slides in above the rest of the content.

Constructors

Link copied to clipboard
constructor(@NonNull context: Context)
constructor(@NonNull context: Context, @Nullable attrs: AttributeSet)

Properties

Link copied to clipboard
Modular search view background color.
Link copied to clipboard
Background color of the highlighted search result.
Link copied to clipboard
Border color of the highlighted search result.
Link copied to clipboard
Text color of the highlighted text result.
Link copied to clipboard
Search input field background color.
Link copied to clipboard
Search input field hint text color.
Link copied to clipboard
Search input field text color.
Link copied to clipboard
Link copied to clipboard
Background color of the list item.
Link copied to clipboard
List item subtitle (snippet) text color.
Link copied to clipboard
List item title (page) text color.
Link copied to clipboard
Selector for the search result list.
Link copied to clipboard
Color of the input field and results list separator line.

Functions

Link copied to clipboard
open fun hide()
Hides the modular search view.
Link copied to clipboard
open fun isIdle(): Boolean
Link copied to clipboard
Called when another chunk of search results is ready.
Link copied to clipboard
open fun onSearchCanceled()
Called when search has been cancelled.
Link copied to clipboard
open fun onSearchComplete()
Called when searching has finished.
Link copied to clipboard
Called in case of an error that prevented searching the document.
Link copied to clipboard
open fun onSearchStarted(@NonNull query: String)
Called when a fresh search has been started.
Link copied to clipboard
Link copied to clipboard
open fun performClick(): Boolean
Link copied to clipboard
open fun setShowPageLabels(showPageLabels: Boolean)
Link copied to clipboard
open fun show()
Shows the modular search view.