public void addScrollViewListener(WXScrollViewListener scrollViewListener){
  if (!mScrollViewListeners.contains(scrollViewListener)) {
    mScrollViewListeners.add(scrollViewListener);
  }
}

public void addScrollViewListener ( WXScrollViewListener scrollViewListener ) { if ( ! mScrollViewListeners . contains ( scrollViewListener ) ) { mScrollViewListeners . add ( scrollViewListener ) ; } }
add listener for scrollview .
