diff --git a/PullToRefresh/PullToRefresh.Droid/PullToRefreshLayoutRenderer.cs b/PullToRefresh/PullToRefresh.Droid/PullToRefreshLayoutRenderer.cs index 39a6ce1..5ac67c5 100644 --- a/PullToRefresh/PullToRefresh.Droid/PullToRefreshLayoutRenderer.cs +++ b/PullToRefresh/PullToRefresh.Droid/PullToRefreshLayoutRenderer.cs @@ -255,8 +255,8 @@ bool CanScrollUp(ViewGroup viewGroup) } else if (child is Android.Webkit.WebView) { - var scrollview = child as Android.Webkit.WebView; - return (scrollview.ScrollY > 0.0); + var webView = child as Android.Webkit.WebView; + return (webView.ScrollY > 0.0); } else if (child is Android.Support.V4.Widget.SwipeRefreshLayout) {