I\'m having some problem with setSelection on a Spinner. I set the value to be pre-selected when the spinner is shown in code, but it has no effect and the first alternative
Try moving the call to setSelection() after the call to setAdapter().
setSelection()
setAdapter()