tag:blogger.com,1999:blog-3318629912574060485.post3245383387628302014..comments2023-04-26T11:02:39.563+10:00Comments on android for beginners: Using spinner.setSelection & finding the spinner doesn't show the selected item when closed?Unknownnoreply@blogger.comBlogger9125tag:blogger.com,1999:blog-3318629912574060485.post-91268076014070638612012-04-18T07:09:57.819+10:002012-04-18T07:09:57.819+10:00Another thing I've noticed is that you must ca...Another thing I've noticed is that you must call setAdapter before setSelection, or setSelection doesn't work. Obvious in hindsight... now if only I could figure out how to initialize the spinner to be blank and not call "onItemSelected" spuriously.Qwertiehttps://www.blogger.com/profile/04595705428290721343noreply@blogger.comtag:blogger.com,1999:blog-3318629912574060485.post-33842634150294281812011-06-16T10:47:26.045+10:002011-06-16T10:47:26.045+10:00Wow I just spent so long trying to figure this out...Wow I just spent so long trying to figure this out. THANKS for stopping me from wasting more time. I am about to do a find and replace on all my setSelection() calls.Kawsarhttps://www.blogger.com/profile/11960595317610444092noreply@blogger.comtag:blogger.com,1999:blog-3318629912574060485.post-48380769773723076362011-06-14T11:22:21.607+10:002011-06-14T11:22:21.607+10:00You're welcome :)You're welcome :)Glennhttps://www.blogger.com/profile/08470323047723161590noreply@blogger.comtag:blogger.com,1999:blog-3318629912574060485.post-56174980577518251402011-06-14T11:20:30.995+10:002011-06-14T11:20:30.995+10:00Man, I was tearing my hair out until I found this ...Man, I was tearing my hair out until I found this post. Thanks a lot!Howardhttps://www.blogger.com/profile/06002687005261016999noreply@blogger.comtag:blogger.com,1999:blog-3318629912574060485.post-24281603017204412542011-05-16T08:16:00.510+10:002011-05-16T08:16:00.510+10:00Many thanks, dude, saved my day. [ps omg what is w...Many thanks, dude, saved my day. [ps omg what is wrong with it, why on earth would it not invalidate when setting selection]whitethinghttps://www.blogger.com/profile/05665610789788188292noreply@blogger.comtag:blogger.com,1999:blog-3318629912574060485.post-67426144898372596922011-03-17T00:49:22.520+11:002011-03-17T00:49:22.520+11:00Thanks for yur postThanks for yur postPraveenhttps://www.blogger.com/profile/11340725210591540968noreply@blogger.comtag:blogger.com,1999:blog-3318629912574060485.post-10487630943799480332010-11-19T11:34:57.694+11:002010-11-19T11:34:57.694+11:00Thanks this was driving me nuts! It's so odd ...Thanks this was driving me nuts! It's so odd because the size of the spinner was even growing to fit the new text, but it was just not changing the text itself.Irotsomahttps://www.blogger.com/profile/06388982004047131630noreply@blogger.comtag:blogger.com,1999:blog-3318629912574060485.post-76956480601418100632010-10-18T13:42:57.704+11:002010-10-18T13:42:57.704+11:00thanks for the post...!! i'm currently working...thanks for the post...!! i'm currently working on an android project right now...and your post, do help me!bazk3thttps://www.blogger.com/profile/03567620453065825665noreply@blogger.comtag:blogger.com,1999:blog-3318629912574060485.post-55133811372329354192010-08-23T02:57:01.364+10:002010-08-23T02:57:01.364+10:00Hey,
Thanks for your simple but useful post! Save...Hey,<br /><br />Thanks for your simple but useful post! Saved me a while, you would have thought that re-drawing would have been the default eh? :)<br /><br />AndyAndyhttps://www.blogger.com/profile/04022021796949519633noreply@blogger.com