protected async override void OnNavigatedTo(NavigationEventArgs e) { //This page recieves repository ,path and branch var tuple = e.Parameter as Tuple <Repository, string, string>; ContentListView.SelectedIndex = -1; if (ViewModel.Content != null) { ViewModel.Content.Clear(); } await ViewModel.Load(tuple); }
protected async override void OnNavigatedTo(NavigationEventArgs e) { //This page recieves repository ,path and branch var tuple = e.Parameter as Tuple <Repository, string, string>; Messenger.Default.Send(new GlobalHelper.SetHeaderTextMessageType { PageName = tuple.Item1.FullName }); ContentListView.SelectedIndex = -1; if (ViewModel.Content != null) { ViewModel.Content.Clear(); } await ViewModel.Load(tuple); }