First implementation of using Node/Presenter/UI on RoomList (no DI)

This commit is contained in:
ganfra 2023-01-03 19:51:04 +01:00
parent e176a41ecf
commit 1509d82f3f
13 changed files with 326 additions and 230 deletions

View file

@ -0,0 +1,9 @@
package io.element.android.x.core.architecture
import androidx.compose.runtime.Composable
import kotlinx.coroutines.flow.Flow
interface Presenter<State, Event> {
@Composable
fun present(events: Flow<Event>): State
}