setNewColor

open fun setNewColor(@Nullable newColor: @Nullable Integer)(source)

Sets the new color in the color picker.

This method updates the new color in the recent color information of the color picker and refreshes the recent color layout to reflect the change.

Parameters

newColor

The new color to set, represented as an Integer. If null, the new color will be unset.