Android Developers Backstage cover image

Episode 181: Architecture → Fewer bugs at the end

Android Developers Backstage

CHAPTER

Unidirectional Data Flow in the UI Layer

In the UI layer we definitely recommend that unidirectional data flow and then it can have different names. So there are certain patterns that can be applied throughout the whole application. It was like the data layer as it was mentioned, it was exposing pollutants and flow is the recommended approach now. But if you take a look at the data layer also, there are some similarities because there is immutability. The data that is exposed from the data layer should be mutable just to avoid problems,. make it easier to test and avoid risk conditions and all that.

00:00
Transcript
Play full episode

Remember Everything You Learn from Podcasts

Save insights instantly, chat with episodes, and build lasting knowledge - all powered by AI.
App store bannerPlay store banner