I'm happy to share the live sample app for the Android Unidirectional Data Flow (UDF) pattern, featuring Coinverse. Code in the wild is always better to learn from than slide samples. Coinverse’s Open App showcases a live UDF pattern which makes the app more readable, easier to develop for, and debug.
Next step - JUnit testing the ViewModels! 🧪🔬🥼
08/07/2019, 3:03 AM
this is interesting, looks like time to migrate from viewmodel to udf (mvi)
08/11/2019, 2:52 AM
@miqbaldc That’s true. Especially if the current code base is complicated. However, the more complex the code / logic flow is the higher the reward for using UDF is. Once setup, creating new features and debugging is significantly faster as you know the exact place to create / alter code.