spierce7
12/08/2021, 7:55 PMMoleculePresenter
interface actually look like? The example given in your blog post doesn’t seem possible without generics:
class CounterPresenter @Inject constructor(
private val randomService: RandomService,
) : MoleculePresenter {
@Composable
override fun Present(events: Flow<CounterEvent>) : CounterModel {
// ...
}
}