rememberPresenter

inline fun rememberPresenter(screen: Screen, navigator: Navigator = Navigator.NoOp, context: CircuitContext = CircuitContext.EMPTY, eventListener: EventListener = EventListener.NONE, factory: Presenter.Factory): Presenter<CircuitUiState>?(source)

Remembers a new Presenter instance for the given screen, navigator, context, and eventListener.

Parameters

factory

a factory to create the Presenter.