2min chapter

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

Get the Snipd
podcast app

Unlock the knowledge in podcasts with the podcast player of the future.
App store bannerPlay store banner

AI-powered
podcast player

Listen to all your favourite podcasts with AI-powered features

Discover
highlights

Listen to the best highlights from the podcasts you love and dive into the full episode

Save any
moment

Hear something you like? Tap your headphones to save it with AI-generated key takeaways

Share
& Export

Send highlights to Twitter, WhatsApp or export them to Notion, Readwise & more

AI-powered
podcast player

Listen to all your favourite podcasts with AI-powered features

Discover
highlights

Listen to the best highlights from the podcasts you love and dive into the full episode