mirror of
https://github.com/M66B/FairEmail.git
synced 2026-03-30 21:58:52 +02:00
Scroll list on overscolling web view
This commit is contained in:
@@ -145,6 +145,13 @@ public class WebViewEx extends WebView implements DownloadListener, View.OnLongC
|
||||
this.intf.onSizeChanged(w, h, ow, oh);
|
||||
}
|
||||
|
||||
@Override
|
||||
protected void onOverScrolled(int scrollX, int scrollY, boolean clampedX, boolean clampedY) {
|
||||
super.onOverScrolled(scrollX, scrollY, clampedX, clampedY);
|
||||
Log.i("Over scrolled=" + scrollX + "/" + scrollY + " clamped=" + clampedX + "/" + clampedY);
|
||||
intf.onOverScrolled(scrollX, scrollY, clampedX, clampedY);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void onDownloadStart(
|
||||
String url, String userAgent, String contentDisposition, String mimetype, long contentLength) {
|
||||
@@ -208,6 +215,8 @@ public class WebViewEx extends WebView implements DownloadListener, View.OnLongC
|
||||
|
||||
void onScrollChange(int scrollX, int scrollY);
|
||||
|
||||
void onOverScrolled(int scrollX, int scrollY, boolean clampedX, boolean clampedY);
|
||||
|
||||
boolean onOpenLink(String url);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user