Tableview scrolling backwards

Alex, this seems to be completely fixed, thanks so much for taking care of this quickly. Now if you can just get someone from Corona to respond to my post “Android 2.2 HTTP Errors” that has been sitting there for a couple of weeks, I might be able to release my app on time next week.

Thanks,

Mike

Hi Mike,

Glad i could help.

Link of the respective post?

Thanks,

Alex

http://forums.coronalabs.com/topic/36590-android-22-http-errors/

Err…the elastic table effect is sadly still broken as of 1153.

Good : By default it seems that isBounceEnabled works

Bad : The elastic effect only works while your finger is moving. The moment your finger stops, the row reverts, even though your finger has not lifted from the screen.

(1) This is counter to Apple table functionality where you can stretch indefinitely or even cancel an intended refresh by moving the table back to its original position before lifting.

(2) This causes a constant “judder” effect because on any given frame where movement is not detected, the table row is attempting to slide up. Touch movement constantly varies in speed so it seems to judder up and down as you drag.

Hi Richard,

Looking at this.

Alex

Hi Mike,

Can you give me some more information? Which Build of Corona? And also, can you post the basic code that you’re using for the widget? Just the essential code please: the configuration and declaration of the widget itself.

Thanks,

Brent

SDK Version: 2013.1139

  tableView = widget.newTableView{

        top = SCENE_TOP,

        width = Screen.width(),

        height = height,

        hideBackground = true,

        listener = tableViewListener,

        noLines = true,

        onRowRender = onRowRender,

        onRowTouch = onRowTouch

    }

    tableView:toBack()

Let me know if you need more code then that… It is rather involved.

Mike

Alex; just worth noting that in my current project, what seems to be happening is that Corona is returning phase == “cancelled” if the user attempts to move their finger while touching a row (constantly)

I think I’ve seen that. I “fixed” it by racheting up the friction so it scrolled slower. For me that worked because in that app I only ever have a few dozen rows in the list, but if you had a few hundred it might not be a workable solution.

 Jay

Jay, thanks, that has not solved the problem completely, but it does reduce it enough that it is not as annoying.

I am seeing this issue as well.

Build: 2013.1143 (2013.6.18)

It usually happens on a very fast swipe or after many fast swipes in a row. It will either run backwards or freeze completely.

Hi guys,

Please file a bug report with this and we’ll look at it.

Thanks,

Alex

Will Do

Thanks a lot, Mike.

Alex

Hey Mike,

Have the bug report. I’ll look at it and update the thread.

Thanks again, and a great day,

Alex

Hi Mike, everyone,

The bug is fixed in 1149.

Thanks again for reporting, and a great weekend,

Alex

Alex… Another really bad bug that has cropped up with the this build is that the touch handler is dying on the Tableview after the phone has been asleep. It is happening on iOS as well as Android.  Has anyone else seen this… The tableview in question is the same one that was having problems above…

Mike

Hey Mike,

Please post a bug report. I’ll look at it ASAP. I’m already looking into the existing issue on the thread.

Thanks!

Alex

mike, I’m not seeing the touch handler dying (iOS), works the same before or after phone sleep. (Of course, it still has the same bug though)

Alex I submitted a Bug. We are going to try a couple of workarounds and will get back to you. Thanks,

Mike