mirror of
https://github.com/Novaloop-AG/element-x-android.git
synced 2026-11-02 12:07:28 +00:00
Create Presentation module and remove Presenter from core
This commit is contained in:
@@ -1,9 +0,0 @@
|
||||
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