summaryrefslogtreecommitdiff
path: root/Xamarin.Forms.Controls/ControlGalleryPages/ListRefresh.cs
diff options
context:
space:
mode:
Diffstat (limited to 'Xamarin.Forms.Controls/ControlGalleryPages/ListRefresh.cs')
-rw-r--r--Xamarin.Forms.Controls/ControlGalleryPages/ListRefresh.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/Xamarin.Forms.Controls/ControlGalleryPages/ListRefresh.cs b/Xamarin.Forms.Controls/ControlGalleryPages/ListRefresh.cs
index 28afd7be..cad0638f 100644
--- a/Xamarin.Forms.Controls/ControlGalleryPages/ListRefresh.cs
+++ b/Xamarin.Forms.Controls/ControlGalleryPages/ListRefresh.cs
@@ -57,8 +57,8 @@ namespace Xamarin.Forms.Controls
stack.Children.Add (lbl);
lv.Header = new ContentView { HeightRequest = 300, HorizontalOptions = LayoutOptions.FillAndExpand, Content = stack };
- lv.SetBinding<FooViewModel> (ListView.ItemsSourceProperty, m => m.Things);
- lv.SetBinding<FooViewModel> (ListView.RefreshCommandProperty, m => m.RefreshThingsCommand);
+ lv.SetBinding (ListView.ItemsSourceProperty, "Things");
+ lv.SetBinding (ListView.RefreshCommandProperty, "RefreshThingsCommand");
grid.Children.Add (lv, 0, 0);
Content = grid;