code: @Override
      public void onFocusChange(View v, boolean hasFocus) {
          if (getOnFocusChangeListener() != null) {
              getOnFocusChangeListener().onFocusChange(v, hasFocus);
          }
  
          EditText et = (EditText) v;
          if (et.getText().toString().length() >= 1 && hasFocus && isDeleteOnClick()) {
              et.getText().clear();
          }
  
          if (hasFocus) {
              setImeVisibility(true);
  
              if (onCompleteListener != null && lastCompleted) {
                  lastCompleted = false;
                  if (isDeleteOnClick()) {
                      onCompleteListener.onComplete(false, null);
                  }
              }
          }
      }
docs: Called when the focus state of a PinBox {@link EditText} has changed.
  
  @param v        The PinBox {@link EditText} whose state has changed.
  @param hasFocus The new focus state of v.