Create Presentation module and remove Presenter from core
This commit is contained in:
parent
969756e744
commit
fc14973049
8 changed files with 22 additions and 7 deletions
|
|
@ -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
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue