I’m currently using the TableView widget, but catching its events, I had a (bad) surprise : the OnRowTouch function catches touch and tap, but in the “Tap” case, the event.row field is always nil.
Because of that, it becomes hard to make a comfortable list (users have to make a “long touch” to trigger the OnRowTouch method, when it uses the event.row). Does anyone know if it will be corrected soon ? Or if the problem comes from me ?
Do you wish to control the “amount of time which is considered a touch” in the touch event? We added this feature several weeks back, specified by the “rowTouchDelay” parameter:
Since I couldn’t solve my problem by playing with the “rowTouchDelay” of my tableview, I guess it’s not what I was looking for.
My problem is that the listener “OnRowTouch” receives 3 types of events via event.phase : tap , press and cancelled , but on the tap one, the event.row parameter returns always nil (this parameter works for other 2).
Because of that, I can only do a list on which people have to make a long press to select an item of the list, instead of just a tap. Changing “rowTouchDelay” didn’t change anything (I don’t even see a difference between 2ms, 5ms or 300ms passed in that parameter).
Do you know a solution to my problem ? Or if this tableview’s behavior will change ? Thanks !
I was using the 2079 build, I just downloaded and tried with the 2112 version and it works (I can now use correctly the rowTouchDelay parameter). Thank you !
Edit : sorry for the triple post, I have troubles with my slow Internet connection…
Do you wish to control the “amount of time which is considered a touch” in the touch event? We added this feature several weeks back, specified by the “rowTouchDelay” parameter:
Since I couldn’t solve my problem by playing with the “rowTouchDelay” of my tableview, I guess it’s not what I was looking for.
My problem is that the listener “OnRowTouch” receives 3 types of events via event.phase : tap , press and cancelled , but on the tap one, the event.row parameter returns always nil (this parameter works for other 2).
Because of that, I can only do a list on which people have to make a long press to select an item of the list, instead of just a tap. Changing “rowTouchDelay” didn’t change anything (I don’t even see a difference between 2ms, 5ms or 300ms passed in that parameter).
Do you know a solution to my problem ? Or if this tableview’s behavior will change ? Thanks !
I was using the 2079 build, I just downloaded and tried with the 2112 version and it works (I can now use correctly the rowTouchDelay parameter). Thank you !
Edit : sorry for the triple post, I have troubles with my slow Internet connection…