code: public String[] getTags() {
          final int count = getChildCount();
          final List<String> tagList = new ArrayList<>();
          for (int i = 0; i < count; i++) {
              final TagView tagView = getTagAt(i);
              if (tagView.mState == TagView.STATE_NORMAL) {
                  tagList.add(tagView.getText().toString());
              }
          }
  
          return tagList.toArray(new String[tagList.size()]);
      }
docs: Returns the tag array in group, except the INPUT tag.
  
  @return the tag array.