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