如何拥有2个不同的主详细信息页面导航

时间:2017-07-06 06:31:38

标签: xamarin.forms

想知道如何在单个应用程序中实现2个主要详细信息页面。 这可行吗?要遵循的任何样本或代码。

更新

I m thinking to use this circular pattern, but I am not sure if this is a good idea.


 Launch ----->  MasterDetailDemo1   


1) in App.cs:

    MainPage = new MasterDetailDemo1();


2) at MasterDetailDemo1

   Click a Master2ndButton in Menu of MasterDetailDemo1 and goto MasterDetailDmo2

Master2ndButton
contain code:

    MainPage = new MasterDetailDemo2();


Back to First MasterDetailDemo1

Click a button in MasterDetailDemo2

BackToHome Button 
which contain code:

    MainPage = new MasterDetailDemo1()

由于

0 个答案:

没有答案