@UiHandler("btnGetAll")
 void onGetAll(ClickEvent e) {
   List<String> listItems = acList.getItemValues();
   for (String item : listItems) {
     MaterialToast.alert(item);
   }
   acWithImage.setError("P");
 }
 @UiHandler("btnGetAllContacts")
 void onGetAllContacts(ClickEvent e) {
   List<String> listItems = acWithImage.getItemValues();
   for (String item : listItems) {
     MaterialToast.alert(item);
   }
 }
  public MaterialAutoCompletes() {
    initWidget(uiBinder.createAndBindUi(this));

    acList.setSuggestions(getSimpleSuggestions());
    acWithImage.setSuggestions(getWithImageSuggestions());
  }