Documentation / listeners / com.femastudios.listeners / BaseListenersManager / addStrongly

addStrongly

fun addStrongly(listener: Interface): Unit

Adds a listener, keeping a strong reference. This means that if nobody else keeps a pointer to the listener, it won't be disposed by the Garbage Collector and will be kept in this object forever.