sorry to be intruding here but did anyone try to get the selected item of the spinner and got a handler null exception error?
I am getting the error EVEN thought the spinner is getting populated but as soon as I make the selection, I am getting a handler exception thanks On Jun 12, 9:44 pm, Mark Murphy <mmur...@commonsware.com> wrote: > Kerry wrote: > > I've seen this posted before but haven't seen an answer yet. The > > OnItemSelectedListener eventhandlergets called both when aspinner > > is initialized, and when a user physically clicks thespinnercontrol. > > Is is possible to determine if an event was triggered by a user > > selection somehow? > > Assuming it is only called once when initialized, and it is initialized > before the user can make choice, you could use a boolean flag to > distinguish between the two cases. Just be sure to reset the flag if you > pop in a new adapter. > > -- > Mark Murphy (a Commons > Guy)http://commonsware.com|http://twitter.com/commonsguy > > Android App Developer Training:http://commonsware.com/training.html --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~----------~----~----~----~------~----~------~--~---