code: public AbsListView.OnScrollListener makeScrollListener() {
          return new AbsListView.OnScrollListener() {
              @Override
              public void onScrollStateChanged(AbsListView absListView, int scrollState) {
                  setEnabled(scrollState != AbsListView.OnScrollListener.SCROLL_STATE_TOUCH_SCROLL);
              }
  
              @Override
              public void onScroll(AbsListView absListView, int i, int i1, int i2) {
              }
          };
      }
docs: Returns an {@link AbsListView.OnScrollListener} to be added to the {@link
  ListView} using {@link ListView#setOnScrollListener(AbsListView.OnScrollListener)}.
  If a scroll listener is already assigned, the caller should still pass scroll changes through
  to this listener. This will ensure that this {@link SwipeActionTouchListener} is
  paused during list view scrolling.
  
  @see SwipeActionTouchListener