widget 2.0 TableView scroll is horrible

I updated a app of mine to use the newest stable corona.

When testing it on my android device, it refuses to scroll, and when it scrolls it suddenly scroll really fast, so fast that several rows (in the middle of the table, not the edges) disappear until I scroll it again (then the rows show up again).

Seemly it tracks the scroll position not attached to the screen position, because the faster that I scrolled last time, the longer it takes to it start responding again (IF it responds, sometimes I drag my fingers a lot around the screen, and it stubbornly refuses to scroll)

Hi Mauricio,

Did you adjust the parameters of the TableView? You can adjust such properties as “friction” and “maxVelocity”. Here’s the API guide for it:

http://docs.coronalabs.com/api/library/widget/newTableView.html

Regards,

Brent Sorrentino

As a side note since Brent is typing faster than me to day :smiley: we are also getting ready to make Widgets 2.0 open source.  What this means is if you want to stay with the public build, you can take advantage of additional improvements and fixes to the Widget library over time.  Look for an announcement coming soon on that.

EDIT: He is way faster…  Check out this post:

http://forums.coronalabs.com/topic/34183-widgets-20-open-source/

What setting I need to use to make the scroll actually scroll when you drag your finger on it?

My biggest issue is not even it jumping around (because this is easy to fix with max speed), but the fact that it does not move at all, except when it does, and it looks totally random and I cannot find a pattern of when it moves and when it does not.

I just noticed while testing this issue again, that sometimes when it refuses to scroll, stuff behind the scrolling screen were getting interacted with (I noticed because I am using for style reasons a half-transparent scroll).

The game with the issue is this one: https://play.google.com/store/apps/details?id=com.kidoteca.weather

The window you can see on the background can be opened and closed.

I noticed that sometimes with the menu open, instead of the menu scrolling, the window got opened and closed instead.

Another issue: the last line only shows half of it. Does not matter the screen size or shape, or what “height” setting I use on the constructor.

If I set the height smaller than the screen, then half of the last line is show outside the background of the list.

Hi Mauricio,

Did you adjust the parameters of the TableView? You can adjust such properties as “friction” and “maxVelocity”. Here’s the API guide for it:

http://docs.coronalabs.com/api/library/widget/newTableView.html

Regards,

Brent Sorrentino

As a side note since Brent is typing faster than me to day :smiley: we are also getting ready to make Widgets 2.0 open source.  What this means is if you want to stay with the public build, you can take advantage of additional improvements and fixes to the Widget library over time.  Look for an announcement coming soon on that.

EDIT: He is way faster…  Check out this post:

http://forums.coronalabs.com/topic/34183-widgets-20-open-source/

What setting I need to use to make the scroll actually scroll when you drag your finger on it?

My biggest issue is not even it jumping around (because this is easy to fix with max speed), but the fact that it does not move at all, except when it does, and it looks totally random and I cannot find a pattern of when it moves and when it does not.

I just noticed while testing this issue again, that sometimes when it refuses to scroll, stuff behind the scrolling screen were getting interacted with (I noticed because I am using for style reasons a half-transparent scroll).

The game with the issue is this one: https://play.google.com/store/apps/details?id=com.kidoteca.weather

The window you can see on the background can be opened and closed.

I noticed that sometimes with the menu open, instead of the menu scrolling, the window got opened and closed instead.

Another issue: the last line only shows half of it. Does not matter the screen size or shape, or what “height” setting I use on the constructor.

If I set the height smaller than the screen, then half of the last line is show outside the background of the list.