I am a newbie here just a few days ago started to work with Titanium Developer. Please help me in the follolwing issue:
I would attach an eventlistener to xml loading 'start' and 'complete'. How can i do that?
This is my XML parser code here:
this.xml = Ti.Filesystem.getFile(Ti.Filesystem.resourcesDirectory, 'test.xml'); this.xmltext = this.xml.read().text; this.xmldoc = Ti.XML.parseString(this.xmltext).documentElement; this.xmlitems = this.xmldoc.getElementsByTagName("member");
Thanks in advance!
No, filesystem has no event properties. Reading local file is fairly fast, i never ran into any issue at all, is there anything you wish to do specifically?