Documentation / listeners / com.femastudios.listeners / BaseListenersManager / removeWithoutCallingHasListeners
removeWithoutCallingHasListeners
fun removeWithoutCallingHasListeners(listener: Interface): Boolean
Removes the given listener, like remove. However, if doing so would have called the onHasListenersChanges lambda, this method won't call it, and returns true. When this happens, you must call notifyHasListeners