We can read a string array from xml file in android like mentioned here. But this can only read simple string array.
My question is that can we read array containing some other type of objects. xml file is like this:
<?xml version="1.0" encoding="utf-8"?>
<resources>
<string-array
name="difficulty_level_names">
<item>
<name>IELTS</name>
<type>1</type>
</item>
<item>
<name>SAT</name>
<type>2</type>
</item>
................
.........
</string-array>
</resources>
UPDATE: Of course, there can be more parameters in each item..