A really basic question. I have a spinner but can't get it to load items.
What is the "Event" in Spinner.Initialize(Event As String)?
Any assistance greatly apprecaited.:sign0104:
What is the "Event" in Spinner.Initialize(Event As String)?
B4X:
Sub Globals
Dim Spinner1 As Spinner
End Sub
Sub Activity_Create(FirstTime As Boolean)
If FirstTime Then
End If
Activity.LoadLayout("Location")
Spinner1.Initialize("InitializeSpinner1") '<<<< Is this correct?
Spinner1.Add("Item1")
Spinner1.Add("Item2")
Spinner1.Add("Item3")
End Sub
Sub Activity_Resume
End Sub
Sub Activity_Pause (UserClosed As Boolean)
End Sub
Sub Spinner1_ItemClick (Position As Int, Value As Object)
End Sub
Sub InitializeSpinner1
End Sub
Any assistance greatly apprecaited.:sign0104: