Hi. I’m currently using a TableVIew in my project and when testing on Android noticed that the touch phase returned by the event are named different to the iOS and Simulator event phases. The phases aren’t documented anywhere (not that I could find) and I thought it might save someone else time if I post my finding here.
Android returnes: “press” and “release”
iOS/Sim returns: “tap”
Incomplete code example:
local function onRowTouch( event ) print( "Phase:", event.phase ) end tableView = widget.newTableView { onRowTouch = onRowTouch }
Corona: 2015.2531
Android: Nexus S, 4.1.2
iOS: iPhone 5, 8.1.2
Regards,
Marco