diff --git a/Xamarin.Forms.Platform.Android/Renderers/ListViewRenderer.cs b/Xamarin.Forms.Platform.Android/Renderers/ListViewRenderer.cs index 06a9554c32..5c69aa4596 100644 --- a/Xamarin.Forms.Platform.Android/Renderers/ListViewRenderer.cs +++ b/Xamarin.Forms.Platform.Android/Renderers/ListViewRenderer.cs @@ -111,7 +111,7 @@ namespace Xamarin.Forms.Platform.Android AListView nativeListView = Control; if (nativeListView == null) { - var ctx = (Activity)Context; + var ctx = Context; nativeListView = new AListView(ctx); _refresh = new SwipeRefreshLayout(ctx); _refresh.SetOnRefreshListener(this);