duanhong169 / ColorPicker

🎨 A color picker for Android. Pick a color using color wheel and slider (HSV & alpha).
Apache License 2.0
361 stars 82 forks source link

method does not override or implement a method from a supertype #20

Open amin1985 opened 4 years ago

amin1985 commented 4 years ago

on version 1.1.6 when using your example code

`new ColorPickerPopup.Builder(this) .initialColor(Color.RED) // Set initial color .enableBrightness(true) // Enable brightness slider or not .enableAlpha(true) // Enable alpha slider or not .okTitle("Choose") .cancelTitle("Cancel") .showIndicator(true) .showValue(true) .build() .show(v, new ColorPickerPopup.ColorPickerObserver() { @Override public void onColorPicked(int color) { v.setBackgroundColor(color); }

        @Override
        public void onColor(int color, boolean fromUser) {

        }
    });

`

on this line

` @Override public void onColor(int color, boolean fromUser) {

        }`

this error comes "method does not override or implement a method from a supertype"

it is fine on version 1.1.5

andrea1984 commented 3 years ago

Same here