Appendix A. UI flows and threads for SquareRt and Countr
In chapter 6 we looked at the user flows for SquareRt and Countr, and you saw how to break them down by layer (view, view model, or model), and by thread (UI or background). Let’s now look at a full breakdown of these flows with the help of the handy diagram that was introduced in figure 6.19.
There’s only one user flow in SquareRt, shown in figure A.1.
Figure A.1. The SquareRt app is pretty simple, with only one flow that the user can take.
Mapping this to the different layers and threads is relatively simple. The calculation is fast, so it can can run on any thread. ...