MobiusLoopFactoryProvider

fun interface MobiusLoopFactoryProvider<M, E, F, V>

Interface used by the MobiusLoopViewModel to pass all dependencies necessary to create a MobiusLoop.Factory.

Functions

Link copied to clipboard
abstract fun create(viewEffectConsumer: Consumer<V>, activeModelEventSource: EventSource<Boolean>): MobiusLoop.Factory<M, E, F>

Creates a MobiusLoop Factory given all the possible dependencies from the MobiusLoopViewModel