Create Presentation module and remove Presenter from core

This commit is contained in:
ganfra 2023-01-04 12:11:12 +01:00
parent 969756e744
commit fc14973049
8 changed files with 22 additions and 7 deletions

View file

@ -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
}