Skip to content
This repository has been archived by the owner on Feb 15, 2022. It is now read-only.

Commit

Permalink
Fix #3
Browse files Browse the repository at this point in the history
  • Loading branch information
Tobias Rohloff committed Mar 23, 2016
1 parent 6ca2203 commit b1d2cfd
Showing 1 changed file with 7 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -39,16 +39,21 @@ public class NestedScrollWebView extends WebView implements NestedScrollingChild
private NestedScrollingChildHelper mChildHelper;

public NestedScrollWebView(Context context) {
this(context, null);
super(context);
init();
}

public NestedScrollWebView(Context context, AttributeSet attrs) {
this(context, attrs, 0);
super(context, attrs);
init();
}

public NestedScrollWebView(Context context, AttributeSet attrs, int defStyleAttr) {
super(context, attrs, defStyleAttr);
init();
}

private void init() {
mChildHelper = new NestedScrollingChildHelper(this);
setNestedScrollingEnabled(true);
}
Expand Down

0 comments on commit b1d2cfd

Please sign in to comment.