QuadFlask / colorpicker

🍭color picker for android
1.22k stars 219 forks source link

Select multiple colors when pickerCount > 1 #47

Closed smedic closed 8 years ago

smedic commented 8 years ago

When trying to set multiple colors by using ColorPickerDialogBuilder, for instance: text color and background color, I cannot acquire set colors.

.setPositiveButton("ok", new ColorPickerClickListener() {
                @Override
                public void onClick(DialogInterface dialog, int selectedColor, Integer[] allColors) {
                       //how to get chosen colors?
                }
})

I can get selectedColor, but how to know which index is that? Is that 1st color, 2nd etc.

QuadFlask commented 8 years ago

multiple color selecting is not implemented and I wrote issue #7.

smedic commented 8 years ago

When i set .showColorEdit(true) , then its ok. When I dont do this, all colors are never changed from inital values.