Skip to content

Instantly share code, notes, and snippets.

@doridori
Last active August 29, 2015 14:01
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save doridori/9e38266367490bd057b8 to your computer and use it in GitHub Desktop.
Save doridori/9e38266367490bd057b8 to your computer and use it in GitHub Desktop.
make WebViews computeHorizontalScrollRange() method public
public class MyWebView extends WebView
{
public MyWebView(Context context)
{
super(context);
}
public MyWebView(Context context, AttributeSet attrs)
{
super(context, attrs);
}
public MyWebView(Context context, AttributeSet attrs, int defStyle)
{
super(context, attrs, defStyle);
}
@Override
public int computeVerticalScrollRange()
{
return super.computeVerticalScrollRange();
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment