Projects ColorPickerDialog Docs ColorPickerPagerAdapter

setListener

Type: public void

Specify a listener to receive updates when a new color is selected.

Parameter Name Description
listener The listener to receive updates.

setColor

Type: public void

Specify an initial color for the picker(s) to use.

Parameter Name Description
color The initial color int.

setAlphaEnabled

Type: public void

Specify whether alpha values should be enabled. This parameter defaults to true.

Parameter Name Description
isAlphaEnabled Whether alpha values are enabled.

updateColor

Type: public void

Update the color value used by the picker(s).

Parameter Name Description
color The new color int.
animate Whether to animate the change in values.