add Listener And Invoke
Adds a listener and calls Observer.update on this new listener.
Parameters
listener
Listener to add and notify.
Adds a listener and calls Observer.update on this new listener.
Listener to add and notify.