I am implementing sax xml parsing and showing all the data in the list.The url is
http://www.harpreetvirk.com/PMEvents/PMe.svc/providers
In it i have 3 countries.I have to implement like when user clicks on usa tags of usa should come,when user clicks on canada , tags of canada should come.Currently when i run my code it is showing all the countries,and also repeating the countries.
Below is my java class code
http://pastebin.com/MVB9VHBk
can anyone guide me how to implement this
Regards
Tushar
In the characters function in MyXMLHandler you can check the value of ch because sometimes the characters is called multiple times implicitly by android with empty value in ch. I faced such problem today only and also a few months ago.