public async Task NavigateToAsync(ViewDescriptor viewDescriptor, bool animated)
        {
            var pageName = viewDescriptor.PageType.ToString();
            var type = Type.GetType(string.Format(PathTemplate, pageName));
            var page = (Page)Activator.CreateInstance(type);

            var viewModel = page.BindingContext as IViewModel;

            if (viewModel != null)
            {
                viewModel.ViewArgs = viewDescriptor.ViewArgs;
            }

            await this.Navigation.PushAsync(page, animated).ConfigureAwait(false);
        }
        public async Task NavigateToAsync(ViewDescriptor viewDescriptor, bool animated)
        {
            var pageName = viewDescriptor.PageType.ToString();
            var type     = Type.GetType(string.Format(PathTemplate, pageName));
            var page     = (Page)Activator.CreateInstance(type);

            var viewModel = page.BindingContext as IViewModel;

            if (viewModel != null)
            {
                viewModel.ViewArgs = viewDescriptor.ViewArgs;
            }

            await this.Navigation.PushAsync(page, animated).ConfigureAwait(false);
        }
 public async Task NavigateToAsync(ViewDescriptor viewDescriptor)
 {
     await this.NavigateToAsync(viewDescriptor, false).ConfigureAwait(false);
 }
 public async Task NavigateToAsync(ViewDescriptor viewDescriptor)
 {
     await this.NavigateToAsync(viewDescriptor, false).ConfigureAwait(false);
 }