I am learning Android development at the moment by making a currency exchange app. I found a list of all the world currency codes in an XML file (https://www.currency-iso.org/dam/downloads/lists/list_one.xml). I want to use this XML file as a resource for my options in the spinner. Basically, I want something like this:
<resources>
<string-array name="cur_array">
<item>USD</item>
<item>CAD</item>
<item>GBP</item>
</string-array>
</resources>
Of course, I need more than just these three currencies, I want ALL the currencies listed in that XML file above.
So how can I make this work? What approach is best?