Saturday, 15 January 2011

android - I need to get id of a selected value -



android - I need to get id of a selected value -

i know how info spinner. need id of selected value. in php can select id 1 time again value. there way in android.

while adding elements spinner add together hashtable in spinner value key , id value .

when set setonitemselectedlistener id this

string id=hashtable.get(spinner.getselecteditem());

android spinner

No comments:

Post a Comment