JetpackCompose.app

@jetpackcomposeapp.bsky.social

The #1 destination for all things Jetpack Compose. Keeping up with Android Development is hard. We make it easy, entertaining and rewarding. World class Android Developers read our newsletter to remain sharp 👉🏻 https://www.jetpackcompose.app/newsletter

We only scratched the surface with the previous post on Metro. @jingibus.bsky.social peels the onion and helps you understand what it takes to ship a project of this scale

Bridget Phillips@jingibus.bsky.social · 9mo ago

This is fantastic and @zacsweers.dev deserves all the praise but it also is gonna give you a false idea of what Z is like as a maintainer and author, what the project is like, and how you might achieve something like this yourself

Hot take: Dependency Injection on Android just got a huge upgrade!! Square just moved Anvil to maintenance mode to adopt Metro - a DI framework built by ONE PERSON that's 47-56% faster than Dagger+Anvil. This is what "individual developers changing ecosystems" looks like 🧵 #AndroidDev

Bild

🚨 ANSWER TIME 🚨 The bug: LazyColumn prefetches items OUTSIDE the viewport. So LaunchedEffect fires when items are COMPOSED, not when they're VISIBLE. With the new August '25 prefetching APIs, you'll log impressions for things users never see! #AndroidDev #JetpackCompose

JetpackCompose.app@jetpackcomposeapp.bsky.social · 9mo ago

🐛 SPOT THE BUG 🐛 This code logs impressions for list items. But with Compose's new prefetching APIs, there's a subtle bug lurking. Can you spot it? Drop your answer below 👇 #AndroidDev #JetpackCompose

99% of Android devs know about graphicsLayer and offset lambda Modifiers for performant animations. But I'm convinced most don't know the performant alternative for background(). Thread on a Compose optimization that'll make your animations buttery smooth 🧈👇