Skip to content

Instantly share code, notes, and snippets.

@JoeM-RP
Created August 14, 2018 21:22
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save JoeM-RP/b1736b84340d75915a5ca1035f1ba373 to your computer and use it in GitHub Desktop.
Save JoeM-RP/b1736b84340d75915a5ca1035f1ba373 to your computer and use it in GitHub Desktop.
<?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="RxUIForms.Views.HomePage" Title="{Binding Title}">
<ContentPage.Content>
<StackLayout Padding="10,20">
<ListView SelectedItem="{Binding SelectedItem, Mode=TwoWay}" ItemsSource="{Binding CopyItems}">
<ListView.ItemTemplate>
<DataTemplate>
<TextCell Text="{Binding Title}" />
</DataTemplate>
</ListView.ItemTemplate>
</ListView>
<Button Text="Show Error Dialog" Command="{Binding ShowAlertCommand}" />
<Button Text="Show Action Sheet" Command="{Binding ShowActionSheetCommand}" />
</StackLayout>
</ContentPage.Content>
</ContentPage>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment