July 2, 2025

New Features

  • Support smart items in context menu and selection toolbar.

API Changes

  • Fixed a bug where certain hardware keyboards or TV remotes fail to move cursor in new TextFields using the directional keys, and instead switch focus to another composable. Added ComposeFoundationFlag.isTextFieldDpadNavigationFixEnabled to be able to disable this fix for the time being if it causes an undesired behavior in an irrecoverable way. Ie1922

Bug Fixes

  • Fix issue where sticky headers were not sticking if a pinned item was present. I9198d b/385006133
  • TextObfuscationMode.RevealLastTyped now follows the system setting “TEXT_SHOW_PASSWORD”. I41c0c
  • Fixed a bug where BasicTextField wrongly shows a “Clipboard pasted” warning when the text toolbar opens for the first time. I5fda2

New Features

  • Update button group's animation to animate to 75% of the animation when clicked instead of pressed. 593942a b/423596967

Bug Fixes

  • Fixed an issue where a carousel item could, in some cases, exceed the large element size during layout calculations, that cut the whole widget. I1c3d7 b/397489534
  • Fixed jumping past beforeContentPadding when scrolling carousels with start and end shift offsets that overlapped. c3d5f3a b/420618979
  • Update SwipeToDismiss’ enabled behavior to observe settled state instead of current. Restores existing behavior where anchor behavior is only disabled when the component is settled at a dismissed state. 3844e07 b/425006844
  • ExposedDropdownMenu’s popup menu can now be opened via keyboard input. Also fix the menu is now reachable via keyboard for the editable variation. 46ead03

API Changes

  • Changes companion object to experimental to match class. I8452a
  • Removed isTrackFocusEnabled experimental flag I003fd

Bug Fixes

  • When no WindowInsets enchroach on the content of the ComposeView, WindowInsetsRulers values are not provided. I71221

New Features

  • Support Emoji 16.0 updates
  • Add “emoji” suffix to the content description to make sure that we have a consistent accessibility behavior across all emoji picker apps.

API Changes

  • The hiltViewModel() APIs for Compose have been moved to a new artifact (androidx.hilt:hilt-lifecycle-viewmodel-compose) and package (androidx.hilt.lifecycle.viewmodel.compose) such that they can be used without transitively depending on androidx.navigation. Ifb222 b/328104152

Bug Fixes

  • Fixed an issue that caused NavEntries that were instantiated using single top to never go beyond CREATED in their Lifecycle.State. I043ba b/421095236

Behavior Changes

  • The NavEntry's state is now strictly based on the current list of decorators passed to the NavDisplay. This means that decorators should be swapped along your back stacks in the case of multiple back stacks in order to preserve the state of the NavEntries on the back stack. Otherwise, the states will be cleared as if the entries were popped (instead of a swap). I7a759 b/428033667

Bug Fixes

  • Used implementedInJetBrainsFork to navigationevent-compose and added a commonStubs target to match Compose conventions. Change requested by JetBrains. f60c79
  • Fixed application of the Compose compiler plugin for Kotlin/Native to ensure correct stub generation. No impact on public APIs or behavior. 1890c9

New Features

Bug Fixes

  • Android unit tests pulling in Paging 3.3 or later will no longer throw from PagingLogger Ia9400 b/331684448
  • Fixed bug where RecyclerView throws IndexOutOfBoundsException when user scrolls while updating RecyclerView Id1f16 b/381024738
  • Fixed bug where paging was unable to trigger more loads when refreshing while scrolling. I60ca5 b/352586078
  • Fixed crash when scrolling while refreshing Paging items. I8c65a b/347649763

Bug Fixes

  • Updated the documentation to clarify usage of Modifier.edgeSwipeToDismiss I78cb5
  • Addressed bug where multiple revealed items could be shown with SwipeToReveal in lazy lists I1d4f6
  • Container shapes in TransformingLazyColumn are now scaled, in order to avoid clipping the contents. I9221a
  • The TimePicker and DatePicker label for hour/minute/second or year/month/day now has heading semantics for screen readers I77d8b
  • Removed the pause between loops in the indeterminate CircularProgressIndicator Iaf0bb
  • Fixed an animation bug in TransformingLazyColumn when items are removed. I73034
  • Corrected handling of anchor items in TransformingLazyColumn when items are removed. I841a8
  • PickerGroup now animates the Pickers horizontally when autocentering is turned on and the selected (centered) picker is changed. Ic82c4

Bug Fixes

  • Updated the documentation to clarify usage of Modifier.edgeSwipeToDismiss I78cb5
  • Addressed bug where multiple revealed items could be shown with SwipeToReveal in lazy lists I1d4f6
  • Container shapes in TransformingLazyColumn are now scaled, in order to avoid clipping the contents. I9221a
  • The TimePicker and DatePicker label for hour/minute/second or year/month/day now has heading semantics for screen readers I77d8b
  • Removed the pause between loops in the indeterminate CircularProgressIndicator Iaf0bb
  • Fixed an animation bug in TransformingLazyColumn when items are removed. I73034
  • Corrected handling of anchor items in TransformingLazyColumn when items are removed. I841a8
  • PickerGroup now animates the Pickers horizontally when autocentering is turned on and the selected (centered) picker is changed. Ic82c4

New Features

  • A new API to set HTTP header name-value pairs on requests to specific origins.
    The Profile.setOriginMatchedHeader method lets the application specify that the header name and value should be set on all HTTP/HTTPS requests to the origins that match the provided allowlist when sent from WebViews and service workers that use the given Profile. The API only allows a single mapping for each header name, and will throw an exception if the header name is already set.
    Use Profile.clearOriginMatchedHeader to remove an existing mapping, and Profile.clearAllOriginMatchedHeaders to remove all mappings. Ida7f1 b/419469873
  • A new API to access and set cookies as part of shouldInterceptRequest callbacks for WebView and Service Workers.
    App developers who currently access the CookieManager API as part of their shouldInterceptRequest can now enable cookie headers directly by calling setIncludeCookiesOnShouldInterceptRequest. This will then cause WebView to add a Cookie header to the WebResourceRequest.getRequestHeaders() map which will be the exact cookies that apply to the request. This will also correctly handle any partitioned cookies.
    Apps can provide Set-Cookie header values through the newly added WebResourceResponseCompat.setCookies API. The Set-Cookie values added there will be processed by WebView as part of the response handling. Idbfd1 b/414769380
  • A new experimental API to warm up the renderer process for a Profile.
    This API can be used by applications with complex WebView lifecycles to ensure that the renderer process is running, even if all WebView instances have been destroyed. Ia8fc8

API Changes

  • Add a new method to the experimental Navigation interface to provide the URL of the navigation. I1c6c0
  • Update the Profile Prefetch feature name to clarify that the Prefetch API can now be invoked on a background thread. I7c83a