It appears that android s Spinner class (and possibly ListView in general, although I don t know for sure) calls your OnItemSelectedListener s onItemSelected()
method after you call setAdapter()
, even if the user hasn t explicitly selected anything yet.
I can see how this would be useful in many situations, but there are times when I only want onItemSelected()
to be called when an item is actually specifically selected.
Is there a way to control this behaviour and have Spinner NOT call onItemSelected()
after setting the adapter?