mirror of
https://github.com/Novaloop-AG/element-x-android.git
synced 2026-11-02 12:07:28 +00:00
First implementation of using Node/Presenter/UI on RoomList (no DI)
This commit is contained in:
@@ -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
|
||||
}
|
||||
Reference in New Issue
Block a user