On Wed, Jul 20, 2011 at 2:52 PM, Igor Barros <[email protected]> wrote:

> Is it possible to return a spinner selected value only when I click in a
> button in the same activity, instead of using the OnItemSelected() method?
>

Yes.


> Could you tell me how to proceed with it?
>

Read the docs for both Spinner and Button. There are functions to do exactly
what you describe.

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

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to