3min chapter

Android Developers Backstage cover image

Episode 181: Architecture → Fewer bugs at the end

Android Developers Backstage

CHAPTER

Do We Still Need View Models?

We discussed a lot with compose is that like do we even still need view models? Like one of the major, major advantages of view models is that like taking easy to survive a context creation or your activity starts. That's a big advantage compared to the activity system. But if you're using compose, compose already knows that it needs to recompose is the configuration changes. So there's a good argument to turn off configuration change handling in your activity and let compose handle it. Do you still need the Android view model? And to be honest, this is still an open question for us. We are trying to find an answer. Yeah, I'll let Manuel add on 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