Switched from out of the box to the following and the screen comes up but its blank. How do I proceed? This is with Visual Studio 2015
public App()
{
// The root page of your application
//MainPage = new ContentPage
//{
// Content = new StackLayout
// {
// VerticalOptions = LayoutOptions.Center,
// Children = {
// new Label {
// XAlign = TextAlignment.Center,
// Text = "Welcome to Xamarin Forms!"
// }
// }
// }
//};
MainPage = new PhoneWord.ViewModels.MainPage();
}
<?xml version="1.0" encoding="UTF-8"?>
<ContentPage.Content>
using System;
using System.Collections.Generic;
using Xamarin.Forms;
namespace PhoneWord.ViewModels{
public partial class MainPage : ContentPage {
public MainPage( ) {
InitializeComponent( );
}
}
}