Package org.mozilla.geckoview
Interface GeckoSession.ScrollDelegate
- Enclosing class:
- GeckoSession
public static interface GeckoSession.ScrollDelegate
GeckoSession applications implement this interface to handle content scroll events.
-
Method Summary
Modifier and TypeMethodDescriptiondefault void
onScrollChanged
(GeckoSession session, int scrollX, int scrollY) The scroll position of the content has changed.
-
Method Details
-
onScrollChanged
The scroll position of the content has changed.- Parameters:
session
- GeckoSession that initiated the callback.scrollX
- The new horizontal scroll position in pixels.scrollY
- The new vertical scroll position in pixels.
-