コード例 #1
0
        private bool TryShowPage(MvxViewModelRequest request)
        {
            if (NavigationProvider == null)
            {
                return(false);
            }

            var page = MvxPresenterHelpers.CreatePage(request);

            if (page == null)
            {
                return(false);
            }

            var viewModel = MvxPresenterHelpers.LoadViewModel(request);

            page.BindingContext = viewModel;

            NavigationProvider.Push(page);

            return(true);
        }