protected override void OnNavigatedTo(MtNavigationEventArgs e) { if (e.NavigationMode != NavigationMode.Back) { idBox = (int)e.Parameter; CurrentPage = 1; Loader(); } _instance = this; MainView.GetInstance().UpdatePosSelectedListView(idBox.ToString()); }
protected override void OnNavigatingFrom(MtNavigatingCancelEventArgs e) { base.OnNavigatingFrom(e); if (e.NavigationMode == NavigationMode.Back) { this.NavigationCacheMode = NavigationCacheMode.Disabled; myWebview = null; helper = null; listThreadController = null; _instance = null; GC.Collect(); } }