private void showResults(String query) {
    if ("cars".equals(query)) {
      results.clear();
      results.add("Volkswagen");
      results.add("Mercedes Benz");
      results.add("BMW");
      results.add("Porsche");
      results.add("Tesla");
    } else if ("phones".equals(query)) {
      results.add("Nexus 4");
      results.add("Galaxy Nexus");
      results.add("Galaxy 7");
    }
  }
Searches the dictionary and displays results for the given query.

@param query The search query
selendroid-test-app/src/main/java/io/selendroid/testapp/SearchUsersActivity.java