PdfSearchViewInline

class PdfSearchViewInline : AbstractPdfSearchView, PSPDFKitViews.PSPDFView

Search view to be placed in the action bar of a AppCompatActivity.

Constructors

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

Properties

Link copied to clipboard
Material back icon coloring.
Link copied to clipboard
Delay for showing the inline search after touching the action.
Link copied to clipboard
Link copied to clipboard
Next search result icon drawable.
Link copied to clipboard
Next search result icon coloring.
Link copied to clipboard
Previous search result icon.
Link copied to clipboard
Previous search result icon coloring.

Functions

Link copied to clipboard
Returns hint text color for the inline search text input field.
Link copied to clipboard
Returns the text color for the navigation text (that states the current displayed result).
Link copied to clipboard
Returns text color for the inline search text input field.
Link copied to clipboard
open fun hide()
Hides the view in the parent.
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 setHintTextColor(@ColorInt hintTextColor: Int)
Sets hint text color for the inline search text input field.
Link copied to clipboard
open fun setNavigationTextColor(@ColorInt navigationTextColor: Int)
Sets the text color for the navigation text (that states the current displayed result).
Link copied to clipboard
open fun setTextColor(@ColorInt textColor: Int)
Sets text color for the inline search text input field.
Link copied to clipboard
open fun show()
Shows the view in the parent.