I’m using a newSwitch (checkBox) in a newTableView. If I tap the switch, it fires the proper ended event to the switch and no event to the row. (onRowTouch). I can tap it on and off, on all table rows and get this behavior. Good.
Next, I have implemented a rowTouch that sets the state of the switch if the row is tapped. It fires the tap event each time touched and I set the state of the checkBox on and off. Doing this does not cause an event that impacts the switch. Also good.
Here is the rub. Once I have touched the row - any row, touching any of the switches generates BOTH the ended event of the switch AND the touch of the row. I am returning TRUE out of both handler functions.
You would think that if something was being passed through, that you would get the row-tap event in the first scenerio where you first touch the switch and not the row. Both events fire with the same timestamp in the viewer.
questions:
is the the proper behavior of the control? and can I grab the timestamp and test against the “last event” to selectively ignore a “duplicate” event?
thanks