library/src/main/java/de/mrapp/android/view/Chip.java
private void obtainStyledAttributes(@Nullable final AttributeSet attributeSet) {
        TypedArray typedArray = getContext().obtainStyledAttributes(attributeSet, R.styleable.Chip);

        try {
            obtainText(typedArray);
            obtainTextColor(typedArray);
            obtainColor(typedArray);
            obtainIcon(typedArray);
            obtainClosable(typedArray);
            obtainCloseIcon(typedArray);
        } finally {
            typedArray.recycle();
        }
    }
private void obtainStyledAttributes(@Nullable final AttributeSet attributeSet) {
        TypedArray typedArray = getContext().obtainStyledAttributes(attributeSet, R.styleable.Chip);

        try {
            obtainText(typedArray);
            obtainTextColor(typedArray);
            obtainColor(typedArray);
            obtainIcon(typedArray);
            obtainClosable(typedArray);
            obtainCloseIcon(typedArray);
        } finally {
            typedArray.recycle();
        }
    }
Obtains the view's attributes from a specific attribute set.

@param attributeSet
The attribute set, the view's attributes should be obtained from, as an instance of
the type {@link AttributeSet} or null, if no attributes should be obtained