protected override void OnNavigatedTo( bool cancelled, NavigationEventArgs e) { _moved = false; if (cancelled) { _moved = true; return; } SourceCapabilityUpdater.Update(); Cache.Clear(); if (NavigationContext.QueryString.TryGetValue("sync", out syncdb)) { _fAppLoaded = true; syncdb = NavigationContext.QueryString["db"]; NavigationContext.QueryString.Remove("sync"); } var checkTileOpen = e.NavigationMode != NavigationMode.Back; RefreshDbList(checkTileOpen, syncdb); }
protected override void OnNavigatedTo( bool cancelled, NavigationEventArgs e) { _moved = false; if (cancelled) { _moved = true; return; } SourceCapabilityUpdater.Update(); if (AppSettings.Instance.AllowAnalytics == null) { _moved = true; this.NavigateTo <AnalyticsSettings>(); return; } Cache.Clear(); var checkTileOpen = e.NavigationMode != NavigationMode.Back; RefreshDbList(checkTileOpen); }
protected override void OnNavigatedTo( bool cancelled, NavigationEventArgs e) { _moved = false; if (cancelled) { _moved = true; return; } SourceCapabilityUpdater.Update(); //if (AppSettings.Instance.AllowAnalytics == null) //{ // _moved = true; // this.NavigateTo<AnalyticsSettings>(); // return; //} Cache.Clear(); if (NavigationContext.QueryString.TryGetValue("sync", out syncdb)) { _fAppLoaded = true; syncdb = NavigationContext.QueryString["db"]; NavigationContext.QueryString.Remove("sync"); } string param; if (NavigationContext.QueryString.TryGetValue("languageChange", out param)) { bool langChange; if (bool.TryParse(param, out langChange)) { if (langChange) { while (NavigationService.CanGoBack) { NavigationService.RemoveBackEntry(); } } NavigationContext.QueryString.Remove("languageChange"); } } var checkTileOpen = e.NavigationMode != NavigationMode.Back; RefreshDbList(checkTileOpen, syncdb); }
protected override void OnNavigatedTo( bool cancelled, NavigationEventArgs e) { _moved = false; if (cancelled) { _moved = true; return; } SourceCapabilityUpdater.Update(); Cache.Clear(); var checkTileOpen = e.NavigationMode != NavigationMode.Back; RefreshDbList(checkTileOpen); }