https://kotlinlang.org logo
#android-architecture
Title
# android-architecture
a

Adam Hurwitz

08/06/2019, 6:20 PM
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! 🧪🔬🥼 https://buff.ly/2T9Yyw3
❤️ 2
👍 3
m

miqbaldc

08/07/2019, 3:03 AM
this is interesting, looks like time to migrate from viewmodel to udf (mvi)
a

Adam Hurwitz

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.
3 Views