View Single Post
Posts: 724 | Thanked: 1,255 times | Joined on Nov 2007 @ Cambridge, UK
#130
Originally Posted by lolloo View Post
oh come on, i will give you half of my code

@marxian

btw i have to choose QML application for my project, correct? so i can use XmlListModel and ListView... right
Yes, then make an XmlHttpRequest with one of those api resources I mentioned earlier, and with the resulting Xml add a transform for the model using some simple xpaths and assign that model to the XmlListView, create a pretty delegate for your list items and you're sorted.

This all depends on the type of data you're getting, obviously an XmlListView is for displaying a list, if you're displaying a profile then you'll want to draw that differently.
 

The Following 2 Users Say Thank You to tswindell For This Useful Post: