summaryrefslogtreecommitdiff
path: root/Xamarin.Forms.Platform.Android
diff options
context:
space:
mode:
authorJason Smith <jason.smith@xamarin.com>2016-04-13 13:43:31 -0700
committerJason Smith <jason.smith@xamarin.com>2016-04-13 13:43:31 -0700
commit840ec020015a257e983a8f783a80031628d502db (patch)
tree04ed2e9cd9624536673b0ff65b5c3a4c9e4ab462 /Xamarin.Forms.Platform.Android
parent49e282e916dacea9d66d3a3697252785f85fd715 (diff)
downloadxamarin-forms-840ec020015a257e983a8f783a80031628d502db.tar.gz
xamarin-forms-840ec020015a257e983a8f783a80031628d502db.tar.bz2
xamarin-forms-840ec020015a257e983a8f783a80031628d502db.zip
Remove unneeded cast
Diffstat (limited to 'Xamarin.Forms.Platform.Android')
-rw-r--r--Xamarin.Forms.Platform.Android/Renderers/ListViewRenderer.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Xamarin.Forms.Platform.Android/Renderers/ListViewRenderer.cs b/Xamarin.Forms.Platform.Android/Renderers/ListViewRenderer.cs
index 06a9554c..5c69aa45 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);