onQueryTextSubmit call twice
Author: ohmerheCreated Apr 25, 2013Updated Jun 15, 2016
I try to use seacrhview supported by ActionBarSherlock, but encount problem unexpected。 After i set OnQueryTextListener ,it call OnQueryTextListener twice in ZTE930 and samsung note2 but work fine in my moto! I also try the fix :
- if (event.getAction() == KeyEvent.ACTION_UP) {
onSubmitQuery();return true;}- but it never call onQueryTextSubmit again! I don't kown why! Is there anyone help me? Thanks!
return false;
Source: JakeWharton/ActionBarSherlock