Ben Trengrove's Avatar

Ben Trengrove

@bentrengrove.dev

Android Developer Relations - Compose

319
Followers
117
Following
52
Posts
19.11.2024
Joined
Posts Following

Latest posts by Ben Trengrove @bentrengrove.dev

Preview
Stack traces in Compose  |  Jetpack Compose  |  Android Developers

Here's the new page about the new stack traces in Compose, in case you were wondering how it all is supposed to work: developer.android.com/develop/ui/c...

15.12.2025 18:34 👍 10 🔁 2 💬 1 📌 0

Something like this is just overhead because the original state is still used.

val visible by remember {
derivedStateOf { foo > 0 }
}

Text(foo, Modifier.graphicsLayer { alpha = if (visible) 1f else 0f } )

08.12.2025 19:30 👍 8 🔁 1 💬 0 📌 0

A common small mistake I see is correctly using derivedStateOf but still referencing the same state you used in the derived state elsewhere in the recomposition scope.

08.12.2025 19:27 👍 3 🔁 0 💬 2 📌 0

This release also adds support for Compose stack traces that work with minified apps! (requires R8 and Kotlin 2.3.0+)

04.12.2025 16:05 👍 22 🔁 5 💬 1 📌 0
Preview
Jetpack Navigation 3 is stable News and insights on the Android platform, developer tools, and events.

Jetpack Navigation 3 is stable! 🎉🎉🎉

Leaning into Jetpack Compose and the idea of combining smaller building blocks together really helped make Nav3 a much more flexible library that made it a joy to work on and hopefully for you to use as well!
android-developers.googleblog.com/2025/11/jetp...

19.11.2025 20:53 👍 60 🔁 26 💬 3 📌 3
How to debug and troubleshoot R8 optimizer | Spotlight Week
How to debug and troubleshoot R8 optimizer | Spotlight Week YouTube video by Android Developers

So you enabled R8. Now is a good time to catch up on Keep Rules. @ajeshr.bsky.social talks you through configuration and troubleshooting.

www.youtube.com/watch?v=A0I6...

18.11.2025 20:39 👍 5 🔁 2 💬 0 📌 0
Preview
Gemini 3 is now available for AI assistance in Android Studio News and insights on the Android platform, developer tools, and events.

Try Gemini 3 in Android Studio!

android-developers.googleblog.com/2025/11/gemi...

18.11.2025 16:10 👍 10 🔁 4 💬 1 📌 0
Navigating the future with Jetpack Navigation 3 - Don Turner | droidcon London 2025
Navigating the future with Jetpack Navigation 3 - Don Turner | droidcon London 2025 YouTube video by droidcon & fluttercon

My talk on Navigation 3 from #dcldn25 is live (very impressive publishing from the droidcon team!). www.youtube.com/watch?v=j1Oi...

01.11.2025 10:19 👍 27 🔁 13 💬 0 📌 0
Preview
Kotlin Multiplatform  |  Android Developers

🆕Yesterday we published updates on #KMP on
d.android.com/kmp!

We finally have the Jetpack libraries that are compatible with KMP .. and CMP!

Want to get into KMP? We have a course goo.gle/kmp-course. Pros can check their skills in the quiz at the end 😁.

31.10.2025 10:04 👍 19 🔁 4 💬 0 📌 0
Post image

If using Gemini in Android Studio is not your cup of tea, you can now use whatever model you want via API key! Now available in latest canaries developer.android.com/studio/gemin...

30.10.2025 18:13 👍 21 🔁 6 💬 3 📌 0
Senior Software Engineer, Jetpack Compose — Google Careers

Would you like to work on Compose at Google (Mountain View CA office)?

Apply here and let's work together www.google.com/about/career...

10.10.2025 17:02 👍 17 🔁 13 💬 0 📌 1
Post image

We launched the Androidify app on Google Play!

Download it now, and create your very own custom Android bot ❤️

I've had loads of fun creating and testing the app - now you can too!

play.google.com/store/apps/d...

#Androidify

03.09.2025 19:04 👍 17 🔁 6 💬 1 📌 0

Thanks for the comments! Glad you like it! @mlykotom.dev wrote this

31.08.2025 06:24 👍 3 🔁 0 💬 1 📌 0
Preview
What’s new in the Jetpack Compose August ’25 release The Jetpack Compose 1.9 release introduces features like advanced shadow modifiers, new visibility modifiers, and enhanced rich styling capabilities.

This Compose release is stacked! There is something for everyone in here 🎁

android-developers.googleblog.com/2025/08/what...

13.08.2025 22:55 👍 13 🔁 1 💬 0 📌 0
Preview
Room (Kotlin Multiplatform)  |  Android Developers

Documentation 📃 for Room KMP just got upgraded.

It finally contains all the information on how to set it up, how to migrate from Android-only and even what features are (unfortunately) not available in KMP. Give it a go! 🟢

d.android.com/kotlin/multi...

08.08.2025 20:06 👍 8 🔁 1 💬 0 📌 0
Preview
Exploring PausableComposition internals in Jetpack Compose Explore the internals of the `PausableComposition` API in Jetpack Compose to improve UI performance by pre-composing elements during idle time in Android

Shreyas Patil wrote a nice article about Pausable Composition!

We have been working on designs for this feature for quite a while until Leland asked "Why don't we just skip?". Ben Tengrove did a prototype to prove it would work and voila a feature is born.

blog.shreyaspatil.dev/exploring-pa...

21.07.2025 16:48 👍 7 🔁 2 💬 0 📌 0

If you do, I would recommend using your own Gemini key to get a larger context (1m tokens) developer.android.com/studio/previ...

And yes, there is a rather generous free tier for the Gemini APIs, too ai.google.dev/gemini-api/d...

16.07.2025 07:10 👍 9 🔁 3 💬 0 📌 0

We call them bin chickens 😂

01.06.2025 00:11 👍 4 🔁 0 💬 0 📌 0

I was barely online during KotlinConf 2025, so here's my follow-up now.

Thank you so much everyone who joined us, in person or online. It was an incredible experience connecting with the community! ❤️

Here are some highlights of news below, as you've probably missed some! 🧵

28.05.2025 12:55 👍 26 🔁 5 💬 2 📌 0
Preview
Get Started With Kotlin Multiplatform  |  Android Developers Learn how to get started with Kotlin Multiplatform from two separate Android and iOS projects. In this codelab you will learn how to add a Kotlin Multiplatform (KMP) module to share code between Andro...

If you're new to #KMP we have 2 new codelabs:
1️⃣ Get started - goo.gle/kmp-get-started-codelab 2️⃣ Migrate Room - goo.gle/kmp-migrate-room-codelab

Try it out, let us know what you miss! 🤖🍏

Thanks to everyone that attended the code-along at #KotlinConf 😊

23.05.2025 14:54 👍 20 🔁 7 💬 0 📌 0
Demystify KMP builds and structure
Demystify KMP builds and structure YouTube video by Android Developers

There are a lot of amazing KMP talks coming out right now but here is our talk from I/O!

Dustin and I give an update on our latest KMP releases and then explain the build setup for an Android KMP app.

youtu.be/gP5Y-ct6QXI?...

23.05.2025 17:41 👍 29 🔁 9 💬 0 📌 1
Post image

Tomorrow we will show how to measure and improve app performance at #GoogleIO. Make sure to join in.

21.05.2025 03:24 👍 12 🔁 2 💬 0 📌 0
Preview
Announcing Jetpack Navigation 3 Explore Jetpack Navigation 3, a new Compose-first navigation library with increased flexibility so Android developers to build robust experiences.

Today, we've released a brand new Jetpack library - Navigation3! A pure Compose, state based navigation library: android-developers.googleblog.com/2025/05/anno...

20.05.2025 18:05 👍 91 🔁 29 💬 6 📌 8
Post image Post image Post image

#io25 is a go! Excited to be here for the first time as a Googler! Find me at the Androidify booth for most of today 👀

20.05.2025 16:24 👍 20 🔁 2 💬 0 📌 0
Post image

I am looking forward to KotlinConf 2025. I hope to see you there.

Do drop by for the talk by @alanv and I on "APIs: How Hard Can They Be?"

#kotlinconf

18.05.2025 21:59 👍 23 🔁 1 💬 0 📌 0
Post image

Don't use Gson on Android. Use Kotlin Serialization instead. It relies on code generation instead of reflection. This helps avoid optimization related crashes and faster app performance.
github.com/google/gson?...
github.com/Kotlin/kotli...

15.05.2025 17:04 👍 43 🔁 5 💬 2 📌 0

But in general yes, it's a challenge for any xplat framework

13.05.2025 09:14 👍 0 🔁 0 💬 1 📌 0

The superpower is, if your company is big enough your iOS Devs barely need to know. Analytics or whatever other framework team can package it up so it just looks like any other iOS framework and now they are shipping to multiple platforms with one team

13.05.2025 09:13 👍 1 🔁 0 💬 1 📌 0

This was an amazing post. Thank you for taking the time to write it

26.04.2025 17:48 👍 4 🔁 0 💬 1 📌 0

Very generic but leads from the front by example, doesn't just yell from the back. Tries to remove roadblocks before the team hits them rather than placing them in the path

14.04.2025 02:38 👍 4 🔁 0 💬 1 📌 0