Skip to content

Commit

Permalink
Adds design time data
Browse files Browse the repository at this point in the history
  • Loading branch information
jamescadd committed Jun 11, 2015
1 parent f5bbabd commit c6c2e73
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions Criminalyzer/MainViewModel.cs
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,22 @@ class MainViewModel

public MainViewModel()
{
if (Windows.ApplicationModel.DesignMode.DesignModeEnabled)
{
CapturedAge = "32";
CapturedGender = "Male";

BitmapImage image = new BitmapImage(new Uri("http://lorempixel.com/200/200/"));

Records.Add(new Record { mugshot = "http://lorempixel.com/200/200/", name = "FIRST LAST" });
Records.Add(new Record { mugshot = "http://lorempixel.com/200/200/", name = "FIRST LAST" });
Records.Add(new Record { mugshot = "http://lorempixel.com/200/200/", name = "FIRST LAST" });
Records.Add(new Record { mugshot = "http://lorempixel.com/200/200/", name = "FIRST LAST" });
Records.Add(new Record { mugshot = "http://lorempixel.com/200/200/", name = "FIRST LAST" });
Records.Add(new Record { mugshot = "http://lorempixel.com/200/200/", name = "FIRST LAST" });
Records.Add(new Record { mugshot = "http://lorempixel.com/200/200/", name = "FIRST LAST" });
}

_faceService = new FaceServiceClient("9b9e6f57f27a4ce9b949c3a22dee8630");
}

Expand Down

0 comments on commit c6c2e73

Please sign in to comment.