Piotr Krzemiński
09/05/2022, 6:12 AMThe data circulates between Model and View only in one direction - from Model to View and from View to Model.
To me it looks like the data flows in two directions, as the sentence specifies at the end. What am I missing? Shall the sentence be rephrased to avoid confusion at the very beginning of MVI adventure?
Arkadii Ivanov
09/05/2022, 9:09 AMEmanuel Moecklin
09/07/2022, 12:12 AMState
flows unidirectional from the model to the view and Intents
flow unidirectional from the view to the model. In a lot of ui implementations, state flows bidirectional between the view and whatever component implements the business logic. MVI makes sure that flow happens in one direction only. That way only one of the two components can alter state (the model).