Xamarin 形成 4 shell 导航复杂参数 [英] Xamarin forms 4 shell navigation with complex parameters

查看:25
本文介绍了Xamarin 形成 4 shell 导航复杂参数的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在将带有 Prism 的 xamarin Forms 3.x 应用程序迁移到带有 shell 导航的 Forms 4.

I´m migratting a xamarin forms 3.x app with Prism to forms 4 with shell navigation.

我是否必须创建我的自定义解决方案来将复杂的参数传递到新页面,或者 Xamarin 有一些内置功能可以接收字符串参数以外的内容?

Do I have to create my custom solution to pass complex parameters to the new page or Xamarin has some buildin feature to receive other than string parameters?

谢谢.

推荐答案

据我所知,并且在阅读文档时,唯一的示例是在导航时传递简单数据,例如字符串.

As far as I know, and, reading the docs, the only samples regard passing simple data, like string when navigating.

但是,我能够找到一个问题(和拉取请求),用于传递对象/模型,用于下一个版本(我认为这就是您所指的情况).

However, I was able to find an Issue (and Pull Request), for passing objects/ Models, for the next version (I assume this is the case you are referring to).

您可以在此处进行跟踪.

这篇关于Xamarin 形成 4 shell 导航复杂参数的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆