Java Question @DesignerProperties

Johan Schoeman

Expert
Licensed User
Longtime User
I have thus far not made use of this feature in my wrappers. Busy playing around with it and what to know the following:

1. I have this code in my wrapper (i.e passing any array of int colors from B4A to the wrapper):
B4X:
    public void setDividerColor(int[] divcolor){
        cv.setDividerColor(divcolor);
        cv.invalidate();
    }

2. Is there a way to add an array of colors to the custom properties or can one add single values and lists only?

The library will use the int[] array to draw the divider line between items as a "gradient" of the colors passed
 
Last edited:
Top