public interface ScrollListener

Invoked to indicate a scroll change events

Methods

public abstract void scrollChanged(int scrollX, int scrollY, int oldscrollX, int oldscrollY)Indicates the scroll changed events

Method details

scrollChanged

public abstract void scrollChanged(int scrollX, int scrollY, int oldscrollX, int oldscrollY)
Indicates the scroll changed events

Parameters

scrollX int
the current scroll x value
scrollY int
the current scroll y value
oldscrollX int
the previous scroll x value
oldscrollY int
the previous scroll y value