I am working on an app that is suppose to store a photo and a couple of strings a few times a day and then show them. The photo and strings are stored in an xml (photo's path not the actual data) and I want to read from that xml file and show them. the problem is that I don't know exactly how many instances of data will be in the xml file so I can't prepare a set number of Photos and textViews In advance. I also would like to show them all in a scrollable way of some sorts , like shown in the gallery.
the real question is pretty much what is the best way to show the data in the xml file without knowing exactly how many node are in the file.