I have a column with a item renderer in a header and in rows. At some point I need to send a message from the header renderer to the cell item renderer.
The way I got it work is that a column renderer adds a listener to the grid. Then header renderer dispatches that event with the message attached to it.
Finally column item renderer gets the message and acts upon it. My question is should I remove that listener from the grid at some point?
Only if you want the renderer to get garbage collected.
Should I be worried about a listener not being garbage collected?
Not the listener, the renderer.