Sure. The scrollView is set up inside of a “getView”-function which is called when a scene is showed and which returns the scrollView-object. This is the scene code:
[lua]
function scene:show( event )
local sceneGroup = self.view
local phase = event.phase
if phase == “will” then
elseif phase == “did” then
local sceneGroup = self.view
editview = getView()
editview.y = 90
sceneGroup:insert(editview)
end
end
function scene:hide( event )
local sceneGroup = self.view
local phase = event.phase
if event.phase == “will” then
sceneGroup:remove(editview)
end
end
[/lua]
And in the getView-function the scrollView is set up with the following code:
[lua]
scrollView = widget.newScrollView
{
top = 0,
left = 0,
width = display.contentWidth,
height = display.contentHeight-100,
hideBackground=true,
bottomPadding=200,
--listener=scrollListener,
horizontalScrollDisabled=true
}
[/lua]
which is the object that’s returned. I can reproduce the issue with only the returned scrollView in the getView()-function, no objects added into it.