The Google I/O agenda is now obtainable, and you may register to discover periods on AI, Android, Net, and Cloud, going down Could 20–21. The Google Keynote will likely be on Could twentieth at 10:00 AM PT, with the Developer Keynote at 1:30 PM PT. You possibly can be a part of on-line for livestreams Could 20–21, with on-demand periods and codelabs on Could 22. Periods will cowl AI developments utilizing Gemini fashions, constructing apps for a number of gadgets utilizing Google AI, and new options for net growth.
Jetpack Compose 1.8 is out with new options, API updates, and bug fixes. You possibly can improve your Compose BOM model to 2025.04.01 to make use of the brand new launch.
Listed below are among the key updates:
- Now you can combine
Autofill
performance into your Compose functions. - The brand new
autoSize
parameter lets the textual content dimension adapt to the container dimension - The
onLayoutRectChanged
modifier solves many use instances that the presentonGloballyPositioned
modifier does; nonetheless, it does so with a lot much less overhead. LookaheadScope
is steady and contains quite a few efficiency and stability enhancements, and features a new modifier,animateBounds
Try the publish to be taught the whole lot new in Jetpack Compose 1.8.
Android 16 Beta 4 is out, marking the ultimate scheduled replace and platform stability. The developer APIs and app-facing behaviors are finalized.
Apps focusing on Android 16 can now be made obtainable in Google Play. This launch contains the newest fixes and optimizations. Think about testing your apps in opposition to habits modifications round JobScheduler
, broadcasts, ART, intents, 16KB web page dimension, accessibility, and Bluetooth.
Be aware that if you happen to develop an SDK, library, instrument, or recreation engine, it’s much more essential to arrange any vital updates now to stop your downstream app and recreation builders from being blocked by compatibility points and permit them to focus on the newest SDK options.
Whereas the API and behaviors are last and we’re very near launch, we’d nonetheless such as you to report points on the suggestions web page. The sooner we get your suggestions, the higher probability we’ll be capable to tackle it on this or a future launch.
The Google Play Console has a redesigned app dashboard that centralizes quality-focused metrics, serving to you enhance app efficiency and person expertise. The dashboard teams metrics into 4 core developer aims:
- check and launch
- monitor and enhance
- develop customers
- monetize with Play
A brand new notification heart helps you keep updated along with your account and apps. New metrics embody:
- pre-review checks for incorrect edge-to-edge rendering
- a low reminiscence kill metric
- extreme wake locks in Android vitals
To remain knowledgeable about all the newest Play Console enhancements and simply discover updates related to your workflow, discover our new What’s new in Play Console web page, the place you possibly can filter options by the 4 developer aims.
The Android Builders weblog introduced new Android Vitals metrics aiming that will help you enhance app efficiency and battery life. The brand new metrics present fleet-wide visibility into efficiency and battery life, equipping you with the information wanted to diagnose and resolve efficiency bottlenecks. We simply launched the primary of those new metrics in beta: extreme wake locks. This metric straight addresses one of the crucial important frustrations for Android customers — extreme battery drain. By optimizing your app’s wake lock habits, you possibly can considerably improve battery life and person satisfaction.
We launched the extreme wake lock metric documentation to supply clear steering on deciphering the metrics. Please take a look at this web page and supply suggestions along with your use case on this new metric. Your enter is invaluable in refining these metrics earlier than their common availability.
Android Builders Weblog launches “Testing at Scale” sequence, that includes real-world testing methods and suggestions from giant apps. This sequence enhances the brand new “Testing Methods” documentation and provides alternatives for builders to contribute their very own experiences. Try the primary two components posted beneath:
Partly 1 of the “Testing at Scale” sequence Ken Yee, Senior Engineer at Netflix, tells us in regards to the challenges of testing a playback app at an enormous scale and the way they’ve advanced the testing technique.
Netflix’s Android app growth prioritizes complete testing, particularly on bodily gadgets resulting from extensive system assist. They’ve moved to native and are adopting Jetpack Compose. Their giant group makes use of unit checks (Strikt, Turbine, Mockito, Hilt, Robolectric), screenshot checks (Paparazzi, Espresso accessibility), and system checks (Espresso, UIAutomator). Minimizing flakiness (state, async code) is vital. They use a devoted system lab and are exploring emulators, Roborazzi, and modular “demo apps” to enhance testing effectivity. The group has created a customized toolchain to isolate and notify engineers of flaky checks. Function builders personal all features of testing.
Partly 2 of the “Testing at Scale” sequence Ryan Harter, Workers Engineer at Dropbox, shares how the form of Dropbox’s testing pyramid modified over time, and what instruments they use to get well timed suggestions.
Dropbox’s Android app growth group makes use of a multi-faceted testing method, emphasizing unit checks with instruments like JUnit and Paparazzi for screenshot testing. They’re reinvesting in end-to-end checks, leveraging their very own Dropshots library for full instrumentation testing and are experimenting with Compose Preview Screenshot Testing. In addition they combine handbook testing with web-based instruments and third-party companies for eventualities troublesome to automate. They’re increasing Dropshots to assist a number of system configurations.
Key Highlights for Compose Builders:
We’ve got a bunch of recent Compose APIs in alpha:
Compose Animation Model 1.9.0-alpha01
TabRow
andScrollableTabRow
have been deprecated in favor of Main and Secondary variants of every that are extra performant and correct to spec.- We added
LocalResources
composition native to question Sources. CallingLocalResources.present
will recompose when the configuration modifications, so calls to APIs comparable tostringResource()
will return up to date values.
Compose Basis Model 1.9.0-alpha01
- Breaking change:
clickable
,combinedClickable
,selectable
,toggleable
, andtriStateToggleable
overloads with out an Indication parameter now solely assistIndicationNodeFactory
cases supplied utilizingLocalIndication
. This variation will apply if you recompile your usages of those modifiers utilizing this model of Compose and is required to allow improved efficiency, and permit Composable capabilities utilizing these modifiers to skip throughout recomposition.
Compose Materials Model 1.9.0-alpha01
- Textual content area ornament field APIs are not experimental
runWithTimingDisabled
is deprecated in favor ofrunWithMeasurementDisabled
, which extra clearly describes the habits — all metrics are paused.
Compose Runtime Model 1.9.0-alpha01
currentCompositeKeyHash
is deprecated. UsecurrentCompositeKeyHashCode
as an alternative.@Steady
,@Immutable
, and@StableMarker
have been moved to runtime-annotation (in a suitable approach). Now you can rely on runtime-annotation if you wish to use these annotations from libraries that don’t rely on compose.@RememberInComposition
was added — that is an annotation that may mark constructors, capabilities, and property getters, to point that they have to not be known as straight inside composition, with out being remembered.
Compose UI Model 1.9.0-alpha01
androidx.compose.ui.LocalSavedStateRegistryOwner
is deprecated in favor ofandroidx.savedstate.compose.LocalSavedStateRegistryOwner.
Modifier.keepScreenOn
was added to set the show to stay awake whereas current
CustomView Model 1.2.0
, CustomView-Poolingcontainer Model 1.1.0
, Leanback Leanback-Desire, Model 1.2.0
, Leanback-Grid Model 1.0.0
, Leanback-Paging Leanback-Tab Model 1.1.0
, and Print Model 1.1.0
are all launched in steady.
That’s it for this version, with Google IO program lineup, Jetpack Compose 1.8, Play Console insights Android Vitals Metrics, Testing at Scale weblog sequence, and the newest in AndroidX!
Examine again quickly in your subsequent replace from the Android developer universe!
No Comment! Be the first one.