When I create my activity, I setup a Spinner, assigning it a listener and an initial value. I know that the onItemSelected callback is called automatically during a
You can just call to setSelection once you know have the list of items and the position to be selected, in that way you avoid onItemSelected to be called twice.
I've created an article about what I think is a better approach How to avoid onItemSelected to be called twice in Spinners