I'm having an issue with how code is being ran on an app that I'm writing. I have a spinner on a pop up window, and when ever I bring up the pop up window I have code that changes the Spinner to the last selection the user had. Well when I do so it triggers the Spinner Selection Listener which is fine, and actually the wanted behavior. Now my question and where it comes to be an issue is. The Calling Method seems to completly itself before the Spinner's selection Code runs.
I.e.
Expand|Select|Wrap|Line Numbers
- Method A. {
- Code 1
- Code 2
- Code 3
- SomeSpinner.setPosition(x);
- Code 4
- Code 5
- Code 6
- }
- SpinnerSelection {
- Code Block A
- }
Thank You.