I have created a ScrollView that has several Spinner views on it. The spinners work fine with being populated and show the selection made but the Spinner_ItemClick event never fires.
The Spinners I have added directly to layouts work fine - ItemClick event fires when item clicked on spinner list but this does not work when the spinner is added via a scrollview.
for testing, the code below is my event capture for the spinner clicked event:
What am I missing here?
The Spinners I have added directly to layouts work fine - ItemClick event fires when item clicked on spinner list but this does not work when the spinner is added via a scrollview.
for testing, the code below is my event capture for the spinner clicked event:
B4X:
Sub MySpinner_ItemClick(Position As Int, Value As Object)
Msgbox2("MySpinner_ItemClick event fired","","OK","","",Null)
Dim ID As String
ID = Value
MyVariable.Text = MySpinnerMap.Get(ID)
End Sub
Last edited: