removeNavigationEventListener

This removes a specific navigation event listener by passing in the instance of it or you can pass in null to remove all the listeners. When .onDestroy is called, all listeners get removed automatically, removing the requirement for developers to manually handle this.

If the listener you are trying to remove does not exist in the list, a warning will be printed in the log.

Since

0.1.0

Parameters

navigationEventListener

an implementation of NavigationEventListener which currently exist in the navigationEventListener list

See also