Documentation / listeners / com.femastudios.listeners / BaseListenersManager / onHasListenersChangesImmediate
onHasListenersChangesImmediate
protected open fun onHasListenersChangesImmediate(hadListeners: Boolean, hadStrongListeners: Boolean): Unit
Callback that will be called immediately after hasListeners or hasStrongListeners change. This method will be executed in a synchronized context, so it's important to not acquire additional locks.
Parameters
hadListeners
- the previous value of hasListeners
hadStrongListeners
- the previous value of hasStrongListeners
See Also