I want to populate a Spinner
element with a List of element. I don't want to store this information on database, but I want to insert this option in one resource file.
So I have insert this code on String.xml file:
<string-array name="sports_array">
<item>Shuttle Badminton</item>
<item>Tennis</item>
<item>FootBall</item>
<item>Basket Ball</item>
<item>Table Tennis</item>
<item>Chess</item>
<item>Hockey</item>
</string-array>
Now this is not good because I should to have other information like this:
Code:1 Name: Tennis CodeSystem: 1000.150 Version: 1
At the end, I want to have also other information than at the Name.
It is possible?