I've created an add in button that subscribes to a RowChangedEvent for each layer in a map. If another layer is added to the map and the add in button is executed again, each of the previous layers that already were subscribed will now have an additional event listener. Is there a way to determine if an event listener (RowChangedEvent) is already associated with a layer so I can prevent a additional ones from being created?
Thanks for your help!
Frank