3 messages in com.googlegroups.android-developers[android-developers] Re: Spinner item...
FromSent OnAttachments
jdav...@gmail.com26 Jul 2008 08:09 
Zach Hobbs26 Jul 2008 10:27 
Juan David Trujillo C.26 Jul 2008 12:50 
Subject:[android-developers] Re: Spinner item click event not supported
From:Zach Hobbs (hob@helloandroid.com)
Date:07/26/2008 10:27:54 AM
List:com.googlegroups.android-developers

I don't understand why you can't use an OnItemSelectedListener to achieve this? This would let you repopulate the form data each time they change the selection in the spinner.

On Saturday 26 July 2008 11:09:56 jdav@gmail.com wrote:

Hi!

I´m writing an application in which I need to capture the clicked item from a spinner and once the item is clicked, fill some text fields. I found in the documentation the setOnItemClickListener(OnItemClickListener l) is not supported for spinners, so I have to look another way to achieve this. The setOnItemSelectedListener(l) isn´t what I need, because I want the user to get the information filled once he clicks the element, without having to actually press a button, or do anything else. I was wondering if anyone has found a way to work this around (perhaps using a expandable list like the one showed in the API demo??) Any better ideas?

Thanks in advance,