SimpleSearchResultListener

Empty implementation of the PdfSearchView.Listener interface.

Constructors

Link copied to clipboard
constructor()

Functions

Link copied to clipboard
Called every time the PdfSearchView has a new chunk of SearchResult instances.
Link copied to clipboard
open fun onSearchCleared()
Called by the PdfSearchView when the current search results have been cleared.
Link copied to clipboard
Called by the PdfSearchView as soon as it has finished the search.
Link copied to clipboard
open fun onSearchError(@NonNull error: Throwable)
Called by the PdfSearchView if search could not be completed because of an error.
Link copied to clipboard
Called by the PdfSearchView if the user touched a SearchResult, providing the actual result as an argument, or null if the previous search result selection was cleared.
Link copied to clipboard
open fun onSearchStarted(@NonNull searchTerm: String)
Called by the PdfSearchView once it has started searching the document.