code: private void obtainIcon(@NonNull final TypedArray typedArray) {
          setIcon(typedArray.getDrawable(R.styleable.Chip_android_icon));
      }
docs: Obtains the chip's icon from a specific typed array.
  
  @param typedArray
  The typed array, the icon should be obtained from, as an instance of the class {@link
  TypedArray}. The typed array may not be null