library/src/main/java/de/mrapp/android/view/Chip.java
public final void setIcon(@Nullable final Drawable icon) {
        setIcon(icon != null ? drawableToBitmap(icon) : null);
    }
public final void setIcon(@Nullable final Drawable icon) {
        setIcon(icon != null ? drawableToBitmap(icon) : null);
    }
Sets the chip's icon.

@param icon
The icon, which should be set, as an instance of the class {@link Drawable} or null,
if no icon should be set