Have you tried setOnItemSelectedListener instead?

2011/11/20 David Karr <davidmichaelk...@gmail.com>

> I'm looking at the 3.2 API for "android.widget.Spinner".  The
> documentation for "public void setOnItemClickListener
> (AdapterView.OnItemClickListener l)" says this:
>
>     A spinner does not support item click events. Calling this method will
> raise an exception.
>
> I'm also looking at the sample code from an Android book, which uses this
> method, and this works perfectly fine.
>
> What's up with this?
>
> --
> 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

-- 
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

Reply via email to