Divya Vani
Divya Vani

Reputation: 37

MasterDetailPage in Xamarin.Forms has changed?

MasterDetailPage by Default in Xamarin.Forms(Android Screen 1)

MasterDetailPage by Default in Xamarin.Forms(Android Screen 2)

But, earlier When I used to work in Xamarin.Forms, The Default MasterDetailPage was like as shown below:

MasterDetailPage by Default in Xamarin.Forms

So, I got confuse with the latest one and previous one default MasterDetailPage, both are completely different by the VIEW.

Upvotes: 0

Views: 603

Answers (1)

Johannes
Johannes

Reputation: 958

I think you probably use the new Xamarin Forms Template of Visual Studio 2017, there is a bug that the Master Detail template is no MasterDetail at all, but uses a TabbedPage MasterDetail Template VS2017

https://bugzilla.xamarin.com/show_bug.cgi?id=53141 they probably didn't fix this, or at least not in a correct way ... https://forums.xamarin.com/discussion/90256/wrong-project-problematic-pages-template-issue-in-vs2017

Instead please see and use this sample https://developer.xamarin.com/samples/xamarin-forms/Navigation/MasterDetailPage/ in order to use a correct MasterDetailpage template.

Xamarin Forms' Master Detail layout is just the same as as before. Master Detail

Upvotes: 3

Related Questions