The code you have posted is fine. just instead of
int pos = s.getSelectedItemPosition();

you can use,

int pos = position;

Think that should work.

May be i confused you with the method name in my previous post.[?] i meant
setOnItemSelectedListener(selectListener) only...

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

<<inline: 330.gif>>

Reply via email to