Xamarin.forms PrismTabbedPage动态创建,每个选项卡都有自己的参数

Xamarin.forms PrismTabbedPage动态创建,每个选项卡都有自己的参数,xamarin.forms,parameters,prism,tabbedpage,Xamarin.forms,Parameters,Prism,Tabbedpage,我正在Xamarin.Forms中动态设置PrismTabbedPage。我有一个内容页PrismContentPageProfile,它显示给定Id的配置文件。我想通过参数传递的Id。问题是每个初始化都有所有的参数 await NavigationService.NavigateAsync("NavigationPage/PrismTabbedPage1?createTab=PrismContentPageProfile?Id=Michel&createTab=PrismContent

我正在Xamarin.Forms中动态设置PrismTabbedPage。我有一个内容页PrismContentPageProfile,它显示给定Id的配置文件。我想通过参数传递的Id。问题是每个初始化都有所有的参数

await NavigationService.NavigateAsync("NavigationPage/PrismTabbedPage1?createTab=PrismContentPageProfile?Id=Michel&createTab=PrismContentPageProfile?Id=Erik");
我希望你能来。一个给Michel,一个给Erik。问题是初始化中的参数在每个页面上都是这样的:

{?createTab=PrismContentPageProfile%3FId%3DMichel&createTab=PrismContentPageProfile%3FId%3DErik}
因为我不知道我是哪个选项卡,所以我不知道要加载哪个配置文件

我希望:

await NavigationService.NavigateAsync("NavigationPage/PrismTabbedPage1?createTab=PrismContentPageProfile?Id=Michel&createTab=PrismContentPageProfile?Id=Erik");
将在每个页面上产生不同的参数。第一页Id=Michel,第二页Id=Erik


或者,如果这是不可能的,我知道我是哪个选项卡索引。然后我可以读取相关参数。

每个初始化都有所有参数
-为什么不独立导航两次,每次使用一个选项卡的参数?确切的意思是什么?就像两次调用
NavigateAsync