rememberEventListener

inline fun rememberEventListener(screen: Screen, context: CircuitContext = CircuitContext.EMPTY, startOnInit: Boolean = true, factory: EventListener.Factory? = null): EventListener(source)

Remembers a new EventListener instance for the given screen and context.

Parameters

startOnInit

indicates whether to call EventListener.start automatically after instantiation. True by default.

factory

a factory to create the EventListener.