fun removeListener(listener: Listener): Unit
Removes a previously registered listener.
listener - the listener to be removed
listener