From: gu.martinm@gmail.com Date: Wed, 3 Sep 2014 11:34:38 +0000 (+0200) Subject: WeatherInformation WP8: map page. Should I save UI state? X-Git-Url: https://git.gumartinm.name/?a=commitdiff_plain;h=42d29d8d01f699422abe7b8aa72c6887ffb17dfe;p=CSharpForFun%2F.git WeatherInformation WP8: map page. Should I save UI state? --- 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)) {