Quantcast
Channel: Xamarin.Forms — Xamarin Community Forums
Viewing all articles
Browse latest Browse all 77050

MasterDetailPage in NagigationPage

$
0
0

Has anyone realized that a MasterDetailPage cannot be launched as a NavigationPage after moving the app to Unified API with the latest stable Xamarin Forms?

Basically this code doesn't work anymore since the updgrade:

public static Page GetMainPage ()
{
return new NavigationPage(new RootPage());
}

RootPage in this case is a MasterDetailPage

I get the error : System.InvalidOperationException: Sequence contains no elements

Please help...


Viewing all articles
Browse latest Browse all 77050

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>