Skip to content

Commit

Permalink
Android WebView support
Browse files Browse the repository at this point in the history
  • Loading branch information
Denis Zakharov committed Mar 23, 2016
1 parent 4d1b168 commit d7462e1
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit d7462e1

Please sign in to comment.