Skip to content Skip to sidebar Skip to footer

How To Read Same Name Child Tag From Xml In Android

hello i am new in android i want know how to iterate child node from xml xml is as follow

Solution 1:

Take a look at this answer.

Update: the code posted will only list the first Item because the loop over nodes3 in onCreate loops only over the ACT elements. Since you have only one of these, the loop will iterate once, write out the first child and then terminate. You must have a second loop inside your loop where you iterate over all child nodes of element e.

Solution 2:

Post a Comment for "How To Read Same Name Child Tag From Xml In Android"