Created
December 4, 2016 15:27
-
-
Save ionixjunior/7b17f2537a4234956d06d57ae6942f83 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8"?> | |
<ContentPage | |
xmlns="http://xamarin.com/schemas/2014/forms" | |
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml" | |
x:Class="Core.Views.Page1View" | |
Title="Page 1" | |
> | |
<ContentPage.Content> | |
<StackLayout> | |
<Button | |
Text="Goto page 2" | |
Command="{Binding GotoPage2Command}" | |
></Button> | |
</StackLayout> | |
</ContentPage.Content> | |
</ContentPage> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using Core.ViewModels; | |
using Xamarin.Forms; | |
namespace Core.Views | |
{ | |
public partial class Page1View : ContentPage | |
{ | |
public Page1View() | |
{ | |
InitializeComponent(); | |
BindingContext = new Page1ViewModel(); | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment