First implementation of using Node/Presenter/UI on RoomList (no DI)
This commit is contained in:
parent
e176a41ecf
commit
1509d82f3f
13 changed files with 326 additions and 230 deletions
|
|
@ -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
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue