WeatherInformation WP8: map page. Should I save UI state?
[CSharpForFun/.git] / 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))
             {