public Task NavigateToAsync(Type pageType, object parameter) { object[] arguments = PrepareConstructorArguments(parameter); Page page = (Page)reflectionService.CreateInstance(pageType, arguments); return(NavigateToAsync(page)); }
public Task ShowDialogAsync(Type dialogType) { PopupPage dialog = (PopupPage)reflectionService.CreateInstance(dialogType); return(xamarinNavigation.PushPopupAsync(dialog)); }