Documentation / listeners / com.femastudios.listeners / BaseListenersManager / callListeners

callListeners

inline fun callListeners(caller: (Interface) -> Unit): Unit

Use this method to invoke some method on the currently attached listeners.

Parameters

caller -

a callback that will be invoked for each attached listener.

Implementation note: this method needs to be public, instead of protected, in order to be called from public inlined methods. It's ok though, since you should never expose directly this class