Profile avatar
vanyo.dev
Android Developer Relations Engineer Helping build adaptive Compose everywhere!
87 posts 527 followers 99 following
Regular Contributor
Active Commenter

Thinking about configuration changes isn't optional. Imagine a website trying to prevent the browser window from being resized or breaking when it does. Android apps can't disable configuration changes and need to react to them correctly without losing state using the tools available.

Hopefully you have a bunch of ideas to improve your apps from the first day of #GoogleIO Day 2 starts soon, be sure to tune in to learn about what's new in developer tools and my favorite topic, why and how to build adaptive! #AndroidDev

Scenes! If there's only one concept to call out for Navigation 3, it's scenes. The abstraction layer allows showing multiple panes at a time, and in different ways. It's the integration hook that integrates Navigation3 with ListDetailPaneScaffold in a flexible, satisfying way.

runComposeUiTest has a nice change in #JetpackCompose 1.9.0-alpha01 - the test body block now suspends! So you no longer have to do a nested runComposeUiTest { runTest { /* suspending test code */ } }, which could be funky since runComposeUiTest had an internal runTest before that wasn't exposed.

A small but extremely useful foundational API added in #JetpackCompose 1.8: LocalWindowInfo.current.containerSize It's the best way to get the size of the window, which should form the basis for any breakpoint logic for top-level layouts like window size classes. #AndroidDev

Days since forgetting a call to "key" in a loop and causing a hard to diagnose bug: 0 #JetpackCompose

🚀 Big news for Android devs using Jetpack Compose! Media3 just dropped version 1.6.0, and it includes a brand new artifact: media3-ui-compose! Finally, seamless and customizable video playback directly in your Compose apps. 🎬 #AndroidDev #JetpackCompose #Media3

We had so much fun filming #TheAndroidShow in Barcelona, at #MobileWorldCongress last week, we can't wait to share it with you! 🥳 Tune in TODAY 🚀 to watch the livestream: goo.gle/tas-mar25

UI that isn't tested is UI that can break. There are Compose techniques for each part of testing - quick verification when iterating, and automating both visual tests and behavior tests. And coming in Compose 1.8, don't miss the new DeviceConfigurationOverride.WindowInsets for testing insets!

A 🧵 announcement: With the Jetpack Compose 1.8. beta01 release, you may notice that a significant number of APIs that were previously experimental, have been graduated to stable.

Android 16 will have some big changes around restricting orientation and aspect ratio by respecting the user's preferred orientation in more cases. Apps can no longer rely on assuming they have a specific aspect ratio to render in. For more details: android-developers.googleblog.com/2025/01/orie...

After figuring out how to make the coordinates work, it's so satisfying to use a live-updating drag and drop that previews where the dropped content will go.