So I have 2 dropdowns in my app, once with list of categories and one with 
list of users.
My custom arrayadapter used to bind to the lists contains 
 
id
name
 
For form submission I need to send the id to the database not the name.. 
But I cant seem to figure out how to get the value instead of the name.
 
catid.setName("catid");
catid.setValue(spinCat.getItemAtPosition(spinCat.getSelectedItemPosition()));
 
 
This above code that I have now just returns the selected name.
 
What am I doing wrong?

-- 
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
--- 
You received this message because you are subscribed to the Google Groups 
"Android Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to