@Override protected void onScrollChanged(int l, int t, int oldl, int oldt) { super.onScrollChanged(l, t, oldl, oldt); if (mScrollInterface != null) { mScrollInterface.onSChanged(l, t, oldl, oldt); } }
@Override protected void onScrollChanged(int l, int t, int oldl, int oldt) { super.onScrollChanged(l, t, oldl, oldt); if (scrollInterface == null || !listenerEnabled) return; if (Math.abs(lastY - t) > 100) { lastY = t; scrollInterface.onScrollChanged(l, t, oldl, oldt); } }