code: EditText generatePinBox(int i, int inputType) {
          EditText editText = (EditText) LayoutInflater.from(getContext()).inflate(R.layout.partial_pin_box, this, false);
          int generateViewId = PinViewUtils.generateViewId();
          editText.setId(generateViewId);
          editText.setTag(i);
          if (inputType != -1) {
              editText.setInputType(inputType);
          }
          setStylePinBox(editText);
  
          editText.addTextChangedListener(this);
          editText.setOnFocusChangeListener(this);
          pinBoxesIds[i] = generateViewId;
  
          return editText;
      }
docs: Generate a PinBox {@link EditText} with all attributes to add to {@link PinView}
  
  @param i index of new PinBox
  @param inputType inputType to new PinBox
  @return new PinBox