-
Notifications
You must be signed in to change notification settings - Fork 154
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
SearchView filtered items do not reappear on backspace #147
Comments
Hello! Thanks for your input! As for issue 1, this is the default behavior. MSV will show the search history first, and that can be turned off with the method you used ( Now, about issue 2, could you make a gif of that? |
hello,Mauker1.I'm sorry to come down to your homepage and ask such a question。I'm replicating segan's experiment, the paper is SEGAN:SEGAN: Speech Enhancement Generative Adversarial Network, I saw your message on the github page of Santiago,I know that you have successfully reproduced all the experiments of the article and completed the test.I have a problem loading the trained model for testing, it may be my clean_wav.sh script modification has a problem, so I would like to consult you。 |
Update
After a little more tinkering, It turns out the first part of the issue was coming from me checking if the the
newText
in whenonQueryChanged
is triggered is empty and not performing that search. Removing this solved Issue 1. This seems quite arbitrary though.The second issue still persists.
Issue 1
Awesome tool.
I'm not sure what I'm doing wrong or if this is a bug.
The first time the
SearchView
is opened, the search methods properly trigger and results are properly presented when I callsearchView.addSuggestions(suggestions)
. The issue however is with every subsequent search, the first results to be presented are those from the previous search, regardless of the query that is typed.Issue 2
After items have been filtered by the search, for example when searching for
search
, when one gets tosea
, hitting backspace, which should presumably trigger the search for and re-display the suggestions forse
properly triggers the search, but keeps the suggestions forsea
on the screen, even after callingsearchView.clearSuggestions()
and thensearchView.addSuggestions(suggestions)
until the search box is completely cleared and the search restarted.I have turned off history via
searchView.setShouldKeepHistory(false);
The text was updated successfully, but these errors were encountered: