I want to create a NavigationPage but I'm doing something wrong. Here's my stacktrace message: "Sequence contains no elements." Can someone help me pinpoint what's wrong with my code? I uploaded an image of an error I'm getting.
This is the code-behind for the xaml page:
namespace Quickies
{
public partial class QuickiesPage : NavigationPage
{
public QuickiesPage()
{
InitializeComponent();
}
}
}
Here's my "App" class
namespace Quickies
{
public partial class App : Application
{
public App()
{
InitializeComponent();
MainPage = new NavigationPage (new QuickiesPage());
}