diff --git a/Xamarin.Duo.Forms.Samples/Xamarin.Duo.Forms.Samples/TwoPage.xaml.cs b/Xamarin.Duo.Forms.Samples/Xamarin.Duo.Forms.Samples/TwoPage.xaml.cs index 538b27c..17c2352 100644 --- a/Xamarin.Duo.Forms.Samples/Xamarin.Duo.Forms.Samples/TwoPage.xaml.cs +++ b/Xamarin.Duo.Forms.Samples/Xamarin.Duo.Forms.Samples/TwoPage.xaml.cs @@ -81,14 +81,11 @@ namespace Xamarin.Duo.Forms.Samples if (Content == null) { - Device.BeginInvokeOnMainThread(() => - { - Content = resetCV; - resetCV.ItemsSource = - Enumerable.Range(0, 1000) - .Select(i => $"Page {i}") - .ToList(); - }); + Content = resetCV; + resetCV.ItemsSource = + Enumerable.Range(0, 1000) + .Select(i => $"Page {i}") + .ToList(); } } }