code: private void obtainMaxNumberOfCharacters(@NonNull final TypedArray typedArray) {
          setMaxNumberOfCharacters(typedArray.getInt(R.styleable.EditText_maxNumberOfCharacters,
                  DEFAULT_MAX_NUMBER_OF_CHARACTERS));
      }
docs: Obtains the maximum number of characters, the edit text should be allowed to contain, from a
  specific typed array.
  
  @param typedArray
  The typed array, the maximum number of characters, the edit text should be allowed to
  contain, should be obtained from, as an instance of the class {@link TypedArray}. The
  typed array may not be null