Is there a method to get the current scroll position x/y?
[lua]
scroller = widget.newScrollView{
width = display.viewableContentWidth,
height = display.viewableContentHeight,
scrollWidth = 700,
scrollHeight = 1000,
hideScrollBar = true,
friction = 0.75,
listener = update
}
local function update( event )
if “ended” == event.phase then
--print( scroller:getScrollPosition() )
end
end
[/lua]
I am trying to get the position at the end phase so I can run functions based on those coordinates.