I have this array in my xml
<string-array name = "locations">
<item value = "KDLH">Duluth International Airport</item>
<item value = "KBJI">Bemidji</item>
<item value = "KAUM">Austin Municipal</item>
<item value = "KBDE">Baudette International Airport</item>
<item value = "KBBB">Benson Municipal</item>
<item value = "KCBG">Cambridge Municipal</item>
<item value = "KCQM">Cook Municipal Airport </item>
<item value = "KCOQ">Cloquet</item>
<item value = "KTOB">Dodge Center Airport </item>
<item value = "KEVM">Eveleth</item>
<item value = "KLXL">Little Falls</item>
<item value = "KMML">Marshall</item>
<item value = "KANE">Minneapolis / Blaine </item>
<item value = "KLVN">Minneapolis, Airlake Airport</item>
<item value = "KMSP">Minneapolis-St. Paul</item>
</string-array>
I'm trying to retrieve the value when an item is selected and not the text. How do I go about doing this? Currently I'm only able to retrieve the text by doing this. I can only currently retrieve the selected text and not the value attribute.
itemtag has novalueattribute