mirror of
https://github.com/apache/cordova-android.git
synced 2025-02-22 00:32:55 +08:00
Updated CordovaWebView to experiment with onScrollChanged messages
This commit is contained in:
parent
3d4ccbec23
commit
a85acfcfc5
@ -517,6 +517,15 @@ public class CordovaWebView extends WebView {
|
|||||||
this.loadUrlIntoView(url);
|
this.loadUrlIntoView(url);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
public void onScrollChanged(int l, int t, int oldl, int oldt)
|
||||||
|
{
|
||||||
|
super.onScrollChanged(l, t, oldl, oldt);
|
||||||
|
//We should post a message that the scroll changed
|
||||||
|
LOG.d(TAG, "Scroll changed: oldl = %d, l = %d", oldl, l);
|
||||||
|
LOG.d(TAG, "Scroll changed: oldt = %d, t = %d", oldt, t);
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Send JavaScript statement back to JavaScript.
|
* Send JavaScript statement back to JavaScript.
|
||||||
* (This is a convenience method)
|
* (This is a convenience method)
|
||||||
|
Loading…
Reference in New Issue
Block a user