I have a ScrollView and there is such a listener
@Override protected void onScrollChanged(int iX, int iY, int iOldX, int iOldY) { if (mOnScrollListener != null) { mOnScrollListener.onScrollChanged(this, iX, iY, iOldX, iOldY); if (iY >= iOldY) { mOnScrollListener.onGoDown(); } else { mOnScrollListener.onGoUp(); } } } But the problem is that as soon as I scroll down (for example), then the onGoDown() method is called 100 times and this is logical I agree
What condition to make this method be called only once if the user scrolls up and once if down