`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"
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); }
`
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