code: public void setLabels(List<String> labels) {
          if (labels.size() != this.labels.size()) {
              throw new IllegalArgumentException("You need to provide " + this.labels.size() + " labels.");
          }
          this.labels = labels;
          ((ArrayAdapter<String>) getAdapter()).notifyDataSetChanged();
      }
docs: TODO: Add setValues as well, or iterate on API