Hi,
There is something that is still unclear for me in term of RemoveEventListener. When we do the following code :
local group = display.newGroup()
local function onTapRect(event)
end
local rect = display.newRect( group, x, y, w, h)
rect:addEventListener ( “tap”, onTapRect)
rect.isHitTestable = true
rect = nil
group:insert(rect)
If later on, I call group:removeSelf() then group = nil, will the eventListener be removed from the rect when it is destroyed since it is part of the group ?
thanks