library/src/main/java/de/mrapp/android/view/Chip.java
public final void setCloseButtonIcon(@NonNull final Drawable icon) {
        Condition.INSTANCE.ensureNotNull(icon, "The icon may not be null");
        closeButton.setImageDrawable(icon);
    }
public final void setCloseButtonIcon(@NonNull final Drawable icon) {
        Condition.INSTANCE.ensureNotNull(icon, "The icon may not be null");
        closeButton.setImageDrawable(icon);
    }
public final void setCloseButtonIcon ( @ NonNull final Drawable icon ) { Condition . INSTANCE . ensureNotNull ( icon , "The icon may not be null" ) ; closeButton . setImageDrawable ( icon ) ; }
Sets the icon of the button, which allows to close the chip.

@param icon
The icon, which should be set, as an instance of the class {@link Drawable}. The icon
may not be null
Sets the icon of the button which allows to close the chip .