WeatherInformation WP8: map page. Should I save UI state?
authorgu.martinm@gmail.com <gu.martinm@gmail.com>
Wed, 3 Sep 2014 11:34:38 +0000 (13:34 +0200)
committergu.martinm@gmail.com <gu.martinm@gmail.com>
Wed, 3 Sep 2014 11:34:38 +0000 (13:34 +0200)
WindowsPhone/WP8/WeatherInformation/WeatherInformation/MapPage.xaml.cs

index c7d8f20..d7a6800 100644 (file)
@@ -30,7 +30,8 @@ namespace WeatherInformation
 
         protected override void OnNavigatedTo(NavigationEventArgs e)
         {
-
+            // TODO: I am not saving the UI state. If location changed but it was not saved
+            // user will have to pick her location again :(
             Location locationItem = null;
             using (var db = new LocationDataContext(LocationDataContext.DBConnectionString))
             {