Hello Guys,
I am haveing this problem with my application and need help. I have data from the server in this form
Food Apple Fruit Seed etc..
Table Chair pen School et..
...
Food Mango Peer Melon etc..
Reading from the left, i want to make for eg; in the first row,
Food parent of Apple
Apple parent of Fruit
Fruit parent of Seed
and if there are more data then etc.. I will itereate over the above data from the server with loop; Example:::
+Food
Apple
Fruit
Seed
etc..
+Table
Chair
Pen
School
etc..
The data will be shown in Tree like form in eclipse views. In the above code, "Food" and "Table" belong to the same level. My problem is how do i begin. I have googled the whole day but can't find something that i really understand. How can i for instance make "Food" parent and make Apple its child and then make Fruit the child of apple and so forth.
Need your help.
Thanks