public Task NavigateToAsync(Type pageType, object parameter)
        {
            object[] arguments = PrepareConstructorArguments(parameter);
            Page     page      = (Page)reflectionService.CreateInstance(pageType, arguments);

            return(NavigateToAsync(page));
        }
Пример #2
0
        public Task ShowDialogAsync(Type dialogType)
        {
            PopupPage dialog = (PopupPage)reflectionService.CreateInstance(dialogType);

            return(xamarinNavigation.PushPopupAsync(dialog));
        }