• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Apps Spinner = problem on setSelection

josceley

Lurker
Hi,

I have used spinner in my app. When I use "setSelection(pos)" first time, it works correctly. But if I make another calling for "setSelection(pos)" on other spinner after, the second spinner will always show the first position instead of showing the correct position which is not 0.
I have checked the code, and the position value is correct.
How to solve this problem?

PS: "setSelection(int position, boolean animate)" dont
 
Back
Top Bottom