Android Developers Backstage cover image

Episode 199: Compose performance

Android Developers Backstage

00:00

The Trade-Off Between Android X and the UI Toolkit

The declarative paradigm does lend itself to be a little allocation heavy. It's pretty easy for, you know, you have a composable function, which like Chuck mentioned, is a transform function. And so if you write that code just kind of point blank, it's going to allocate that object every time you recompose. That might be wasteful depending on how often your function recomposes. But writing code like that isn't quite as natural and things like that.

Transcript
Play full episode

The AI-powered Podcast Player

Save insights by tapping your headphones, chat with episodes, discover the best highlights - and more!
App store bannerPlay store banner
Get the app