[android-developers] Set Spinner select to 'none' ?

2010-04-07 Thread Mark Wyszomierski
Hi,

Is there a way to set a Spinner's selection to 'none' ? When my
activity launches, it looks like a spinner will automatically select
the 0th element in the spinner. I'd like to explicitly make the user
choose a selection instead.

Thanks

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

To unsubscribe, reply using "remove me" as the subject.


Re: [android-developers] Set Spinner select to 'none' ?

2010-04-07 Thread ~ TreKing
On Wed, Apr 7, 2010 at 11:47 AM, Mark Wyszomierski  wrote:

> Is there a way to set a Spinner's selection to 'none' ?


Not that I know of, but you can set a prompt as the first item and ignore
its selection. See this thread:
http://groups.google.com/group/android-developers/browse_thread/thread/5ef14f1965fe6636/34c324baa21b4629

-
TreKing - Chicago transit tracking app for Android-powered devices
http://sites.google.com/site/rezmobileapps/treking

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

To unsubscribe, reply using "remove me" as the subject.