In my app I'm using an xml file to store some data, and images are stored in the drawable folder. I would like to "link" these to, meaning that each object in the xml file to refer a certain image in the drawable folder. How could i acomplish this ? Thanks!
<contacts>
    <contact>
        <name>Joe</name>
        <picture>R.drawable.joe_pic</picture>
    </contact>
    <contact>
        <name>Dean</name>
        <picture>R.drawable.dean_pic</picture>
    </contact>
</contacts>
 
     
    