In previous version I could declare a sub for example Spinner1_Click
The current version throws an error. Is there away to fire an event when a spinner is clicked? (Not the item clicked)
java.lang.RuntimeException: java.lang.RuntimeException: Don't call setOnClickListener for an AdapterView. You probably want setOnItemClickListener instead
Are you using the 2.50 version?
In 2.22 it was working.
Try and add a spinner from the designer, generate a member so that it adds "Dim spinner1 as spinner"
Then manually add a
Sub spinner1_Click
End Sub
You get the error...
I 'll try and export the project
Sub Spinner1_ItemClick (Position As Int, Value As Object)
End Sub
If you're not sure, you can type:
Sub then a space, then tab will list the available types, select one and press return and a list of available methods will be displayed, select one of those, then type the field name and press return.