From 42d29d8d01f699422abe7b8aa72c6887ffb17dfe Mon Sep 17 00:00:00 2001 From: "gu.martinm@gmail.com" Date: Wed, 3 Sep 2014 13:34:38 +0200 Subject: [PATCH] WeatherInformation WP8: map page. Should I save UI state? --- WindowsPhone/WP8/WeatherInformation/WeatherInformation/MapPage.xaml.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/WindowsPhone/WP8/WeatherInformation/WeatherInformation/MapPage.xaml.cs b/WindowsPhone/WP8/WeatherInformation/WeatherInformation/MapPage.xaml.cs index c7d8f20..d7a6800 100644 --- a/WindowsPhone/WP8/WeatherInformation/WeatherInformation/MapPage.xaml.cs +++ b/WindowsPhone/WP8/WeatherInformation/WeatherInformation/MapPage.xaml.cs @@ -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)) { -- 2.1.4