code: private void adaptHelperText() {
          if (textInputLayout != null && TextUtils.isEmpty(getText())) {
              textInputLayout.setHelperText(helperText);
              textInputLayout.setHelperTextEnabled(true);
          }
      }
docs: Adapts the helper text of the dialog's edit text widget.