I am retrieving data from a database into an ArrayList, which is then used to populate a spinnerSpinner. This
This all works fine, I can see the items in the dropdown.
However, it does not show the selected item, even though I have used mySpinner.setSelected(INDEX). It
It does not even run the code in the setOnItemSelectedListener that I created.
I realiserealize there are many similar questions already, but even trawlingcrawling through those answers II've been unable to solve the problem.
TheMy code is given below. Thanks in advance for any help!