Posted by Nick Butcher – Product Supervisor
At Google I/O 2025, we introduced a number of options, efficiency, stability, libraries, and instruments updates for Jetpack Compose, our beneficial Android UI toolkit. With Compose you possibly can construct wonderful apps that work throughout units. Compose has matured loads because it was first introduced (at Google I/O 2019!) and we’re now seeing 60% of the highest 1,000 apps within the Play Retailer reminiscent of MAX and Google Drive use and adore it.
New Options
Since I/O final yr, Compose Invoice of Supplies (BOM) model 2025.05.01 provides new options reminiscent of:
- Autofill assist that lets customers robotically insert beforehand entered private info into textual content fields.
- Auto-sizing textual content to easily adapt textual content dimension to a mum or dad container dimension.
- Visibility monitoring for once you want high-performance info on a composable’s place in its root container, display screen, or window.
- Animate bounds modifier for lovely automated animations of a Composable’s place and dimension inside a LookaheadScope.
- Accessibility checks in assessments that allow you to construct a extra accessible app UI by way of automated a11y testing.
LookaheadScope { Field( Modifier .animateBounds(this@LookaheadScope) .width(if(inRow) 100.dp else 150.dp) .background(..) .border(..) ) }

For extra particulars on these options, learn What’s new within the Jetpack Compose April ’25 launch and take a look at these talks from Google I/O:
If you happen to’re trying to check out new Compose performance, the alpha BOM gives new options that we’re engaged on together with:
- Pausable Composition (see under)
- Updates to LazyLayout prefetch
- Context Menus
- New modifiers: onFirstVisible, onVisbilityChanged, contentType
- New Lint checks for regularly altering values and parts that must be remembered in composition
Please check out the alpha options and present suggestions to assist form the way forward for Compose.
Materials Expressive
At Google I/O, we unveiled Materials Expressive, Materials Design’s newest evolution that helps you make your merchandise much more partaking and simpler to make use of. It is a complete addition of recent parts, kinds, movement and customization choices that aid you to construct lovely wealthy UIs. The Material3 library within the newest alpha BOM comprises most of the new expressive parts so that you can check out.

Be taught extra to begin constructing with Materials Expressive.
Adaptive layouts library
Growing adaptive apps throughout type elements together with telephones, foldables, tablets, desktop, automobiles and Android XR is now simpler with the most recent enhancements to the Compose adaptive layouts library. The secure 1.1 launch provides assist for predictive again gestures for smoother transitions and pane growth for extra versatile two pane layouts on bigger screens. Moreover, the 1.2 (alpha) launch provides extra flexibility for a way panes are displayed, including methods for reflowing and levitating.

Be taught extra about constructing adaptive android apps with Compose.
Efficiency
With every launch of Jetpack Compose, we proceed to prioritize efficiency enhancements. The newest secure launch contains important rewrites and enhancements to a number of sub-systems together with semantics, focus and textual content optimizations. Better of all these can be found to you just by upgrading your Compose dependency; no code modifications required.

We proceed to work on additional efficiency enhancements, notable modifications within the newest alpha BOM embrace:
- Pausable Composition permits compositions to be paused, and their work break up up over a number of frames.
- Background textual content prefetch allows textual content structure caches to be pre-warmed on a background thread, enabling sooner textual content structure.
- LazyLayout prefetch enhancements enabling lazy layouts to be smarter about how a lot content material to prefetch, making the most of pausable composition.
Collectively these enhancements get rid of practically all jank in an inner benchmark.
Stability
We have heard from you that upgrading your Compose dependency could be difficult, encountering bugs or behaviour modifications that stop you from staying on the most recent model. We have invested considerably in bettering the soundness of Compose, working carefully with the various Google app groups constructing with Compose to detect and forestall points earlier than they even make it to a launch.
Google apps develop towards and launch with snapshot builds of Compose; as such, Compose is examined towards the tons of of 1000’s of Google app assessments and any Compose points are instantly actioned by our workforce. We’ve just lately invested in growing the cadence of updating these snapshots and now replace them each day from Compose tip-of-tree, which suggests we’re receiving suggestions sooner, and are capable of resolve points lengthy earlier than they attain a public launch of the library.
Jetpack Compose additionally depends on @Experimental annotations to mark APIs which are topic to vary. We heard your suggestions that some APIs have remained experimental for a very long time, decreasing your confidence within the stability of Compose. We’ve invested in stabilizing experimental APIs to offer you a extra strong API floor, and lowered the variety of experimental APIs by 32% within the final yr.
We’ve additionally heard that it may be laborious to debug Compose crashes when your personal code doesn’t seem within the stack hint. Within the newest alpha BOM, we’ve got added a brand new opt-in characteristic to offer extra diagnostic info. Notice that this doesn’t at present work with minified builds and comes at a efficiency price, so we suggest solely utilizing this characteristic in debug builds.
class App : Utility() { override enjoyable onCreate() { // Allow just for debug taste to keep away from perf affect in launch Composer.setDiagnosticStackTraceEnabled(BuildConfig.DEBUG) } }
Libraries
We all know that to construct nice apps, you want Compose integration within the libraries that work together along with your app’s UI.
A core library that powers any Compose app is Navigation. You informed us that you simply usually encountered limitations when managing state hoisting and instantly manipulating the again stack with the present Compose Navigation resolution. We went again to the drawing-board and utterly reimagined how a navigation library ought to combine with the Compose psychological mannequin. We’re excited to introduce Navigation 3, a brand new artifact designed to empower you with larger management and simplify advanced navigation flows.
We’re additionally investing in Compose assist for CameraX and Media3, making it simpler to combine digital camera seize and video playback into your UI with Compose idiomatic parts.
@Composable non-public enjoyable VideoPlayer( participant: Participant?, // from media3 modifier: Modifier = Modifier ) { Field(modifier) { PlayerSurface(participant) // from media3-ui-compose participant?.let { // customized play-pause button UI val playPauseButtonState = rememberPlayPauseButtonState(it) // from media3-ui-compose MyPlayPauseButton(playPauseButtonState, Modifier.align(BottomEnd).padding(16.dp)) } } }
To be taught extra, see the media3 Compose documentation and the CameraX samples.
Instruments
We proceed to enhance the Android Studio instruments for creating Compose UIs. The newest Narwhal canary contains:
- Resizable Previews immediately present you ways your Compose UI adapts to completely different window sizes
- Preview navigation enhancements utilizing clickable names and parts
- Studio Labs 🧪: Compose preview era with Gemini rapidly generate a preview
- Studio Labs 🧪: Rework UI with Gemini change your UI with pure language, instantly from preview.
- Studio Labs 🧪: Picture attachment in Gemini generate Compose code from photos.
For extra info learn What’s new in Android growth instruments.

New Compose Lint checks
The Compose alpha BOM introduces two new annotations and related lint checks that can assist you to write down appropriate and performant Compose code. The @FrequentlyChangingValue annotation and FrequentlyChangedStateReadInComposition lint examine warns in conditions the place perform calls or property reads in composition would possibly trigger frequent recompositions. For instance, frequent recompositions would possibly occur when studying scroll place values or animating values. The @RememberInComposition annotation and RememberInCompositionDetector lint examine warns in conditions the place constructors, capabilities, and property getters are referred to as instantly inside composition (e.g. the TextFieldState constructor) with out being remembered.
Comfortable Composing
We proceed to spend money on offering the options, efficiency, stability, libraries and instruments that it’s essential construct wonderful apps. We worth your enter so please share suggestions on our newest updates or what you’d prefer to see subsequent.
Discover this announcement and all Google I/O 2025 updates on io.google beginning Might 22.