You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After typing required query, we have mainly two options to execute search query. We can choose from one of the suggestions displayed or we can click on the Search (Magnifier) button on soft keyboard.
In my case, after clicking on Search button on soft keyboard, instead of executing search, the query gets transferred to Google app and results are shown there. Clicking on one of the suggestion works fine.
I tried to implement editText.setOnEditorActionListener(new TextView.OnEditorActionListener() with materialSearchBar but materialSearchBar doesn't have that listener.
The text was updated successfully, but these errors were encountered:
in my case this function is the problem startSearch(text.toString(), true, null, true); when i deleted it my problem solved , so my code for searching is : Intent suggestionIntent = new Intent(Intent.ACTION_SEARCH); suggestionIntent.putExtra(SearchManager.QUERY, text.toString()); handleIntent(suggestionIntent);
After typing required query, we have mainly two options to execute search query. We can choose from one of the suggestions displayed or we can click on the Search (Magnifier) button on soft keyboard.
In my case, after clicking on Search button on soft keyboard, instead of executing search, the query gets transferred to Google app and results are shown there. Clicking on one of the suggestion works fine.
I tried to implement
editText.setOnEditorActionListener(new TextView.OnEditorActionListener()
withmaterialSearchBar
but materialSearchBar doesn't have that listener.The text was updated successfully, but these errors were encountered: