getScrollingDirection method
Implementation
int getScrollingDirection(double touchMovementDeltaY) {
if (touchMovementDeltaY < 0) {
return _SCROLL_DIRECTION_UP;
} else if (touchMovementDeltaY > 0) {
return _SCROLL_DIRECTION_DOWN;
} else {
return _SCROLL_DIRECTION_NONE;
}
}