Documentation / listeners / com.femastudios.listeners / BaseListenersManager / addWeaklyWithoutCallingHasListeners

addWeaklyWithoutCallingHasListeners

fun addWeaklyWithoutCallingHasListeners(listener: Interface): Boolean

Adds the given listener weakly, like addWeakly. 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