class IconMixin implements Mixin {

    public void setIcon(Drawable icon) {
        final ImageView iconView = getView();
        if (iconView != null) {
            iconView.setImageDrawable(icon);
        }
    }

    public  IconMixin(TemplateLayout layout, AttributeSet attrs, int defStyleAttr);

}