@@ -0,0 +1,1233 @@
+package com.sinyuk.yuk.utils.glide;%0A%0Aimport android.graphics.ColorMatrix;%0Aimport android.util.Property;%0A%0Aimport com.sinyuk.yuk.utils.AnimUtils;%0A%0A%0A/**%0A * An extension to %7B@link ColorMatrix%7D which caches the saturation value for animation purposes.%0A * TODO: Look into this: https://github%0A * .com/square/picasso/commit/a181e0fbead6889347b39ac49363dbedde308120%0A * https://blog.neteril.org/blog/2014/11/23/android-material-image-loading/%0A */%0Apublic class ObservableColorMatrix extends ColorMatrix %7B%0A%0A    public static final Property%3CObservableColorMatrix, Float%3E SATURATION = new AnimUtils%0A            .FloatProperty%3CObservableColorMatrix%3E(%22saturation%22) %7B%0A%0A        @Override%0A        public void setValue(ObservableColorMatrix cm, float value) %7B%0A            cm.setSaturation(value);%0A        %7D%0A%0A        @Override%0A        public Float get(ObservableColorMatrix cm) %7B%0A            return cm.getSaturation();%0A        %7D%0A    %7D;%0A    private float saturation = 1f;%0A%0A    public ObservableColorMatrix() %7B%0A        super();%0A    %7D%0A%0A    public float getSaturation() %7B%0A        return saturation;%0A    %7D%0A%0A    @Override%0A    public void setSaturation(float saturation) %7B%0A        this.saturation = saturation;%0A        super.setSaturation(saturation);%0A    %7D%0A%7D%0A

Add observable color matrix work with image view