scroll view and table view will not jump back to starting position if scrolling in opposite direction before bounce back has completed (vertical and horizontal)
exposed scrollView:updateScrollAreaSize() for making sure the scroll works correctly when moving objects inside the scroll view
fixed some issues when using multiple scroll views or table views at the same time
scroll view and table view now respect the vertical scrolling threshold
fixed table view bug when deleting multiple rows
fixed table view deleteRow bug that says table view is scrolling when it’s not and doesn’t allow delete
all scrollTo methods for scrollView and tableView return the transition handle so it can be canceled if needed
Super! Now Alex can just accept the pull request and we all get the update in hopefully a nearby daily build… Meanwhile, let me head over to your GitHub page. Thanks much for sharing!!!
Well alex can check for changes if he likes but I can not make a pull request as I didn’t make a branch of corona repository. I made a new one as I only included files for scroll view and table view. Anyone can make a pull request with this fixes on the corona repository if they wish.
Super! Now Alex can just accept the pull request and we all get the update in hopefully a nearby daily build… Meanwhile, let me head over to your GitHub page. Thanks much for sharing!!!
Well alex can check for changes if he likes but I can not make a pull request as I didn’t make a branch of corona repository. I made a new one as I only included files for scroll view and table view. Anyone can make a pull request with this fixes on the corona repository if they wish.
Well the error is telling you that the problem is on line 767 of your page_2.lua file. What you do there I do not know but you are trying to read a table entry on an empty table.
This would give you the same error:
local t = nil
local v = t.something
The dissapearing images might be caused by this error or another one in your onRowRender listener.
You have to understand that when you move the tableview rows that go out of view are removed from stage and when they come back into view your onRowRender listener is called again to draw the table contents. Check your values in the onRowRender listener to find the problem.
Limiting scroll that way will probably be less than smooth. This should happen automatically when you delete a row from tableview. You should not just remove the objects (images/text) you place in the row you should delete the rows using tableView.deleteRow(index). This should update the scroll size on it’s own.
Well the error is telling you that the problem is on line 767 of your page_2.lua file. What you do there I do not know but you are trying to read a table entry on an empty table.
This would give you the same error:
local t = nil
local v = t.something
The dissapearing images might be caused by this error or another one in your onRowRender listener.
You have to understand that when you move the tableview rows that go out of view are removed from stage and when they come back into view your onRowRender listener is called again to draw the table contents. Check your values in the onRowRender listener to find the problem.
Limiting scroll that way will probably be less than smooth. This should happen automatically when you delete a row from tableview. You should not just remove the objects (images/text) you place in the row you should delete the rows using tableView.deleteRow(index). This should update the scroll size on it’s own.