public Task PushViewModel(Type viewModelType, Type pageType, NavigationParameters parameters, bool modal = false, bool animate = true) { var page = ViewModelResolver.ResolveViewModel(viewModelType, pageType, parameters); return(PushViewModelWithPage(page, page.GetModel(), parameters, modal, animate)); }
public virtual void AddPage(Type pageType, string title, NavigationParameters parameters = null) { var page = ViewModelResolver.ResolveViewModel(pageType, parameters); AddPage(page, title); }
private async Task PushPageModel(TinyViewModel viewModel, NavigationParameters parameters, bool modal = false, bool animate = true) { var page = ViewModelResolver.ResolveViewModel(viewModel, parameters); await PushPageModelWithPage(page, viewModel, modal, animate); }
public virtual void AddPage <T>(string title, string icon, NavigationParameters parameters = null) where T : TinyViewModel { var page = ViewModelResolver.ResolveViewModel <T>(parameters); AddPage(page, title, icon); }
private async Task PushPageModel(TinyViewModel viewModel, bool modal = false, bool animate = true) { var page = ViewModelResolver.ResolveViewModel(viewModel); await PushPageModelWithPage(page, viewModel, modal, animate); }