I'm creating the showcase app for my cgCalendar view, and am using a lot of ComboBoxes, 30 to be exact
Of these 30 ComboBoxes ( a Lib from ML), 14 are being filled one by one by the items of a List...
My code works OK, but it takes about 40s to fill the 14 Combos, is this "Normal"?
what would be a more time effective way of doing it?
yes, it is, I think its the way the combo manages the items add method that causes the lag...
I may just go back to the drawing board as I still have 16 other (smaller) Combo list to fill and it risks to enlarge the lag even more.
[Or I'll just do it in B4J since it now has the ability to manage custom views with properties...]
I don't know that library, but how are you filling the other 16? If you feel that it might be quicker, perhaps you could change the data format to suit.
I am Filling 14 Comboboxes with the exact same data (195 values X 14 Comboboxes = 2730 values) to be used in diferent panels...
Maybe I can figure out a way to use just one Combobox as a popupmenu.... well I guess I just have made myself a good suggestion! lol