Example #1
0
        protected override void OnAppearing()
        {
            base.OnAppearing();

            var vm = new AddOccupantsIdsViewModel(this.dialogId);

            this.BindingContext = vm;
            vm.OnAppearing();
        }
        protected override async void OnNavigatedTo(NavigationEventArgs e)
        {
            base.OnNavigatedTo(e);

            if (isLoading)
            {
                return;
            }

            isLoading = true;

            var dialogId = (string)e.Parameter;

            vm = new AddOccupantsIdsViewModel(dialogId);
            this.DataContext = vm;
            vm.OnAppearing();

            //await Windows.UI.ViewManagement.StatusBar.GetForCurrentView().HideAsync();
        }