I've created a web view recently & everything seems to be working fine except the window.scroll event. I'm loading content in my mobile website once user reaches the end of the screen, unfortunately that doesn't work in Android Webview.
I've enabled javascript in Android Webview.
Here is the simple code I'm using in PHP:
$(window).scroll(function(){
alert('H'); //This never happens
});
In main_activity.java, this line is included:
webSettings.setJavaScriptEnabled(true);
What could be the possible reason behind this? Any solution?