3min chapter

Android Developers Backstage cover image

Episode 191: Compose Lazy Layouts

Android Developers Backstage

CHAPTER

Is There a Content Type in RecyclerView?

One of the constraints that drove RecyclerView as well as the earlier list view, which nobody should be using anymore, was avoiding allocations at all costs. Don't ever allocate if you don't need to. Is that also something driving lazy list at all? Like are you avoiding allocations or is there something happening,. but you know, it's not as big a deal as it used to be.Yeah. So I think part of the answer was there is a content type. That's what I was talking about before. Yeah. But I mean, content type just kind of defines for you what's the order of element is. And that means that we reuse these nodes more efficiently when

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