Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement onQueryTextSubmit(query: String) #541

Open
hoangwy opened this issue Feb 20, 2020 · 1 comment
Open

Implement onQueryTextSubmit(query: String) #541

hoangwy opened this issue Feb 20, 2020 · 1 comment

Comments

@hoangwy
Copy link

hoangwy commented Feb 20, 2020

Hi,
Thank for great work

Can you implement this
override fun onQueryTextSubmit(query: String) = false.

I want to capture Search button on the keyboard.

Thanks so much,

@mickverm
Copy link

mickverm commented Mar 2, 2020

Use the following:

searchView.queryTextChangeEvents()
    .subscribe { event: SearchViewQueryTextEvent ->
        if (event.isSubmitted) {
         
        }
    }

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants