My application is using a lot of webviews which are lying in fragments which are hold by a ViewPager.
Whenever i swipe through the app on my Galaxy Nexus with Jelly
Don't have a clue why it worked. I added onTouchEvent listener into my MainActivity.java to fix this issue.
public class MainActivity extends ActionBarActivity implements ActionBar.TabListener {
public class MyWebView extends WebView {
public MyWebView(Context context) {
super(context);
}
public MyWebView(Context context, AttributeSet attrs) {
super(context, attrs);
}
@Override
public boolean onTouchEvent(MotionEvent event) {
onScrollChanged(getScrollX(), getScrollY(), getScrollX(), getScrollY());
return super.onTouchEvent(event);
}
}