Sub Globals
Private Spinner1 As Spinner
End Sub
Sub Activity_Create(FirstTime As Boolean)
Activity.LoadLayout("1")
Spinner1.AddAll(Array("Item 1", "Item 2", "Item 3"))
End Sub
Sub Spinner1_ItemClick (Position As Int, Value As Object)
Log("User clicked on " & Value)
End Sub