And the same thing...... but with diferent reasons
I start to hate spinners.
One moment they work, the next they don't
Again: java.lang.RuntimeException: java.lang.RuntimeException: Don't call setOnClickListener for an AdapterView. You probably want setOnItemClickListener instead
It does not matter what I do. Add the spinner in the designer, or manually
Initialize it, or not.
The moment the layout is loaded (with the spinner) it creates the error
If I don't use the layout, the same error occurs when I initialize the spinner.
Sub Globals
Dim help_topics As Spinner
Dim label1 As Label
Dim lbl_helptext As Label
Dim spinnerchoice As String
End Sub
Sub Activity_Create(FirstTime As Boolean)
Activity.LoadLayout("help") 'spinner declared in designer
help_topics.AddAll(Array As String("Introduction", "How to convert from... to...", "Change Conversion Buttons", "Currency Update"))
end Sub
I tried banging my head against the wall. Changed my mind and banged the computer to the wall. Then banged the wall against everything else.... but nothing helps.
Of course I know it's me that is doing something wrong, but that makes it even worse.
Please help
========
After I changed the name from help_topics to spinner1 (the default name in the designer) the problem disappeared. Any ideas?
=======
And the whole bloody thing starts again the second time I run it. Either shoot me or shoot the spinner