I use following code to set items of ChoiceBox Cbx001 in AppStart, Cbx001 is on the form using designer. It is much slower than I expect as I though it should be no time, but I can see the form appears for around 2 seconds. Is this the right way to set items? Thanks.
B4X:
Dim lst As List
lst.Initialize
For i = 60 To 240
lst.Add(i)
Next
Cbx001.Items.AddAll(lst)
Cbx001.SelectedIndex = 2