summaryrefslogtreecommitdiff
path: root/Xamarin.Forms.Platform.WinRT
diff options
context:
space:
mode:
authorSamantha Houts <samantha@teamredwall.com>2016-07-01 20:51:38 (GMT)
committerRui Marinho <me@ruimarinho.net>2016-07-01 20:51:38 (GMT)
commiteb84f968f2fac47c375724465854e58c85e45bee (patch)
tree64d9ded58234602c4bdea1e706db6e0f9ba90c3c /Xamarin.Forms.Platform.WinRT
parent128796e6d0c6bc4c48ba3b6de4ca97a33d698724 (diff)
downloadxamarin-forms-eb84f968f2fac47c375724465854e58c85e45bee.zip
xamarin-forms-eb84f968f2fac47c375724465854e58c85e45bee.tar.gz
xamarin-forms-eb84f968f2fac47c375724465854e58c85e45bee.tar.bz2
[All] Crash fixes for ListViews (#243)
* [Controls] Add repro for 42277 * [Android] No crash if GroupHeaderTemplate=null * [Android] Fix DataTemplateSelector crash * [Core] Expose ListProxy on TIL * [iOS] Fix DataTemplateSelector crash * [Win] Fix DataTemplateSelector crash * [Docs] Update docs * [Core] Implement ListProxy explicitly Allows ListProxy property to stay internal. * [Controls] Revert unnecessary change to shproj
Diffstat (limited to 'Xamarin.Forms.Platform.WinRT')
-rw-r--r--Xamarin.Forms.Platform.WinRT/ListViewRenderer.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Xamarin.Forms.Platform.WinRT/ListViewRenderer.cs b/Xamarin.Forms.Platform.WinRT/ListViewRenderer.cs
index c6a9d2d..d6ec703 100644
--- a/Xamarin.Forms.Platform.WinRT/ListViewRenderer.cs
+++ b/Xamarin.Forms.Platform.WinRT/ListViewRenderer.cs
@@ -287,7 +287,7 @@ namespace Xamarin.Forms.Platform.WinRT
if (Device.Idiom == TargetIdiom.Phone)
await Task.Delay(1);
- IListProxy listProxy = ((ITemplatedItemsView<Cell>)til).ListProxy;
+ IListProxy listProxy = til.ListProxy;
ScrollTo(listProxy.ProxiedEnumerable, listProxy[0], ScrollToPosition.Start, true, true);
}