Sub Globals
Private Spinner1 As Spinner
End Sub
Sub Activity_Create(FirstTime As Boolean)
'Do not forget to load the layout file created with the visual designer. For example:
Activity.LoadLayout("Layout1")
For i = 1 To 10
Spinner1.AddAll(Array As String(1, 2, 3, 4, 5, 6, 7, 8, 9, 10))
Next
End Sub