onOverScrolled method

void onOverScrolled(
  1. int x,
  2. int y,
  3. bool clampedX,
  4. bool clampedY,
)

Event fired to respond to the results of an over-scroll operation.

x represents the new X scroll value in pixels.

y represents the new Y scroll value in pixels.

clampedX is true if x was clamped to an over-scroll boundary.

clampedY is true if y was clamped to an over-scroll boundary.

Official Android API: https://developer.android.com/reference/android/webkit/WebView#onOverScrolled(int,%20int,%20boolean,%20boolean)

Implementation

void onOverScrolled(int x, int y, bool clampedX, bool clampedY) {}