Hi, Im using xaml for my master detail page and other pages however when i run my app i seem to have 2 navigation bars present and one doesnt have any items. help please.
Master detail page code
`
<?xml version="1.0" encoding="UTF-8"?>
<MasterDetailPage.Master>
<ContentPage Title = "Home">
<StackLayout>
<Button Text="Freestyle Times" />
<Button Text="Backstroke Times" />
<Button Text="Brestroke Times" />
<Button Text="Butterfly Times" />
<Button Text="Medely Times" />
</StackLayout>
</ContentPage>
</MasterDetailPage.Master>
<MasterDetailPage.Detail>
</NavigationPage>
</MasterDetailPage.Detail>
`
Code behind Master detail page
`using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using GoogleLogin.Views;
using Xamarin.Forms;
using TimeTrackerApps;
namespace TimeTrackerApps
{
public partial class Home : MasterDetailPage
{
public Home()
{
InitializeComponent();
}
}
}`
Code for Homepage
`<?xml version="1.0" encoding="UTF-8"?>
<ContentPage.Content>
</StackLayout>
</ContentPage.Content>
`
Code behind Homepage
`using System;
using System.Collections.Generic;
using Xamarin.Forms;
namespace TimeTrackerApps
{
public partial class Homepage : ContentPage
{
public Homepage()
{
InitializeComponent();
}
}
}
`
Image of what happens