android-components / mozilla.components.feature.findinpage.view / FindInPageBar

FindInPageBar

class FindInPageBar : ConstraintLayout, FindInPageView (source)

A customizable “Find in page” bar implementing FindInPageView.

Constructors

Name Summary
<init> FindInPageBar(context: <ERROR CLASS>, attrs: <ERROR CLASS>? = null, defStyleAttr: Int = 0)
A customizable “Find in page” bar implementing FindInPageView.

Properties

Name Summary
listener var listener: Listener?
Listener to be invoked after the user performs certain actions (e.g. “find next result”).

Functions

Name Summary
clear fun clear(): Unit
Clears the UI state.
displayResult fun displayResult(result: FindResultState): Unit
Displays the given FindResultState state in the view.
focus fun focus(): Unit
Requests focus for the input element the user can type their query into.

Inherited Functions

Name Summary
asView open fun asView(): <ERROR CLASS>
Casts this FindInPageView interface to an actual Android View object.