Animating Windows Phone Listboxes: Listing 1
Loading runtime data from Flickr.
- By Nick Randolph
Loaded += MainPageLoaded;
private void MainPageLoaded(object sender, RoutedEventArgs e)
var wc = new WebClient();
wc.OpenReadCompleted += FlickrDownloadCompleted;
private void FlickrDownloadCompleted(object sender, OpenReadCompletedEventArgs e)
var serializer = new DataContractJsonSerializer(typeof(FlickrData));
var data = serializer.ReadObject(e.Result) as FlickrData;
DataContext = data;
Nick Randolph runs Built to Roam, a consulting company that specializes in training, mentoring and assisting other companies build mobile applications. With a heritage in rich client applications for both the desktop and a variety of mobile platforms, Nick currently presents, writes and educates on the Windows Phone platform.