Sorry Mark, I guess I didn't make myself clear. What I meant to say was that I have not seen an example where a Spinner and Adapter is configured with something other an Array/Cursor of String. Ie an Array of some complex Objec.
But I think I have figured out what I need now. I should render the non String items by overriding #getView and #getDropDownView, correct? Re the second part of my question - thanks. I hadn't realized all the resources were in the data/res folder of the sdk. That will be very useful. On Aug 3, 11:09 pm, Mark Murphy <mmur...@commonsware.com> wrote: > On Tue, Aug 3, 2010 at 9:02 AM, William Ferguson > > <william.ferguson...@gmail.com> wrote: > > All the examples I have found assume that Spinner is given an array of > > String. > > Here is a Spinner using a SimpleCursorAdapter: > > http://github.com/commonsguy/cw-advandroid/tree/master/Contacts/Spinn... > > > I can't find anywhere that describes what is contained in the layouts > > android.R.layout.simple_spinner_item and > > android.R.layout.simple_spinner_dropdown_item. So I'm not really sure > > what is there and is available for use. > > They are in your SDK directory. > > -- > Mark Murphy (a Commons > Guy)http://commonsware.com|http://github.com/commonsguyhttp://commonsware.com/blog|http://twitter.com/commonsguy > > Android Development Wiki:http://wiki.andmob.org -- 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