我最终得到了一个类似于下面的解决方案。这样,它应该每半秒发射一次。
public boolean onQueryTextChange(final String newText) { if (newText.length() > 3) { if (canRun) { canRun = false; handler.postDelayed(new Runnable() { @Override public void run() { canRun = true; handleLocationSearch(newText); } }, 500); } } return false; }


