rememberUi

inline fun rememberUi(screen: Screen, context: CircuitContext = CircuitContext.EMPTY, eventListener: EventListener = EventListener.NONE, factory: Ui.Factory): Ui<CircuitUiState>?(source)

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

Parameters

factory

a factory to create the Ui.