Remove event from scrollview

Hi, 

Can someone tell me how can i remove the event listener “scrollListener” from the scrollview widget?

scrollView = widget.newScrollView { top = 0, left = 0, width = display.viewableContentWidth, height = 1024, scrollWidth = 960, scrollHeight = 400, backgroundColor = {0,255,255,0}, verticalScrollDisabled = true, isBounceEnabled = false, listener = scrollListener }

Just set a boolean and don’t do anything when it is called. I don’t think there is a way to remove it once you’ve created the scrollview.

Just set a boolean and don’t do anything when it is called. I don’t think there is a way to remove it once you’ve created the scrollview.