aboutsummaryrefslogtreecommitdiffstats
path: root/flow-mvi/src/main/java/foundation/e/flowmvi/MVIView.kt
diff options
context:
space:
mode:
authorGuillaume Jacquart <guillaume.jacquart@hoodbrains.com>2022-07-28 06:04:25 +0000
committerGuillaume Jacquart <guillaume.jacquart@hoodbrains.com>2022-07-28 06:04:25 +0000
commit12510a55c9c2b1d21c6e1f45d0058778ddfc9eaa (patch)
treef87e29f670323b7173e5e3875112271c8835a5d3 /flow-mvi/src/main/java/foundation/e/flowmvi/MVIView.kt
parent3ca73e64ddd25c7c20eca2e4e0db77032db848c0 (diff)
parentb4d35c1c12120503e74d7ae99edd94302673acf6 (diff)
downloadadvanced-privacy-12510a55c9c2b1d21c6e1f45d0058778ddfc9eaa.tar.gz
Merge branch 'remove_flow_mvi' into 'main'
#5444 Fix CPU consumption - remove flow-mvi dependency See merge request e/os/advanced-privacy!74
Diffstat (limited to 'flow-mvi/src/main/java/foundation/e/flowmvi/MVIView.kt')
-rw-r--r--flow-mvi/src/main/java/foundation/e/flowmvi/MVIView.kt27
1 files changed, 0 insertions, 27 deletions
diff --git a/flow-mvi/src/main/java/foundation/e/flowmvi/MVIView.kt b/flow-mvi/src/main/java/foundation/e/flowmvi/MVIView.kt
deleted file mode 100644
index aa6f624..0000000
--- a/flow-mvi/src/main/java/foundation/e/flowmvi/MVIView.kt
+++ /dev/null
@@ -1,27 +0,0 @@
-/*
- * Copyright (C) 2021 E FOUNDATION
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <https://www.gnu.org/licenses/>.
- */
-
-package foundation.e.flowmvi
-
-import kotlinx.coroutines.flow.Flow
-
-interface MVIView<State, out Action> {
-
- fun render(state: State)
-
- fun actions(): Flow<Action>
-}