continuing the creation of the walmart application I ran into a little road block. In the Json response back from the walmart website there is a nest List. So my problem was that I didn't know how to show the information in this list. I google searched and didn't really come across an example that fixed it perfectly. So I started messing around with the closes answer and finally figured it out.
So what we have is a List of type Category, and inside of that list we have another List of type children. I was sure how to data bind it at first. So what I ended up trying and succeeding with was putting a Listbox inside of a Listbox. and everything worked out wonderfully. You can see in the code above I have a listbox and inside the data template of that listbox I have another list box.
Now im doing this because the walmart website sends back categories. So for example we have two categories lets say one category is called "electronics" and another is called "clothing". Great but now when u click on those categories you have more sub categories. So for electronics you will have T.V, Accessories, Computers, Tablets and so on. In the clothing categories you will find sub categories like Pants, Shoes, Sweaters, Belts and so on. So hopefully you understand what I mean by two lists. the first list being of categories and inside each category there is another list of sub categories.
Well that's all for right now. Now that I have done most of the confusing stuff its time for the real fun part of designing the application. see you next post!