本文共 1118 字,大约阅读时间需要 3 分钟。
Notified when a scroll occurs with the initial on down and the current move
. The distance in x and y is also supplied for convenience.
e1 | The first down motion event that started the scrolling. |
---|---|
e2 | The move motion event that triggered the current onScroll. |
distanceX | The distance along the X axis that has been scrolled since the last call to onScroll. This is NOT the distance between e1 and e2 . |
distanceY | The distance along the Y axis that has been scrolled since the last call to onScroll. This is NOT the distance between e1 and e2 . |