Exemplo n.º 1
0
        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);
        }
Exemplo n.º 2
0
        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);
        }