Updated Dependency
- Activity now depends on Navigation Event 1.0.1
Important changes since 1.9.0:
- Shared transition APIs are stable in 1.10
- New
Modifier.skipToLookaheadPositionAPI for layouts inSharedTransitionScopeto skip to the target position instead of animating position changes 9a88f4 - Support dynamically enabling/disabling shared elements 07680e
- New API to support initial velocity for initiating shared element transition with a fling b0afe2
- New
EnterTransitionandExitTransitionfor animating a veil layer forAnimatedVisibilityandAnimatedContent0f6e7c
Bug Fixes
- Only acquire position for
sharedElementsifSharedTransitionLayoutis attached I2a035
API Changes
- Introduced
Modifier.scrollIndicatorto allow adding custom scroll indicators to scrollable containers. TheScrollIndicatorFactoryinterface enables creating scroll indicators by defining their appearance and behavior. I89322 - Removed
ComposeFoundationFlags.isTextFieldDpadNavigationEnabled. The new behavior is now enabled at all times. I3f034 - Introduce
isCacheWindowRefillFixEnabledto control the roll out of the cache window refill fix. I4e52b b/454439658 - Removed
ComposeFoundationFlags.isKeepInViewFocusObservationChangeEnabled. The new behavior is now enabled at all times. I7cbd4 Modifier.onFirstVisible()is deprecated as its behavior is misleading and doesn't always follow the contract claimed by the name. For example, when it is added on an item ofLazyColumn, this callback will be called everytime this item became visible after scrolling. It is not what the users of the modifier with this name might have expected. It is recommended to useModifier.onVisibilityChanged()instead and manually track if the layout was visible already previously based on the requirement of the specific use case. Ia7095 b/447601783- Introduced
MeasuredSizeAwareModifierNode, which is needed when you needonRemeasured()callback. Please use this interface directly instead of using more genericLayoutAwareModifierNodewhen you don't need other callbacks. If6fb0 - Introduces a
visibleModifier which can be used to skip drawing the content of a Composable without affecting the space it occupies. Ia6871 b/158837937
New Features
- Added multi-aspect carousel I15247 b/411232854
API Changes
- Feature flag
isCheckboxStylingFixEnabledis now provided throughComposeMaterial3Flagsobject. I97baf b/457504316 - The
disabledCheckmarkColorparameter inCheckboxColorshas been moved to the end of the parameter list to ensure binary compatibility. I734d8 b/457504316
Bug Fixes
- Revert all arrow keys changing slider values to fix focus getting trapped in certain devices without a tab key. I154dd b/460912699
API Changes
- Removes
isSemanticAutofillEnabledUI flag as semantic autofill has been enabled by default. I849cf b/455587954 - Changed how traversable method find
findNearestAncestordiscovers relevant nodes. Now delegates of the same type (NodeKind) will be visible during the traversal. The change is guarded by the flagisTraversableDelegatesFixEnabled. Ia3165 b/280804097 - Add
TextEntryKeymapping forANI#isTextEntryKeyIfde7b b/399540654 Modifier.onFirstVisible()is deprecated as its behavior is misleading and doesn't always follow the contract claimed by the name. For example, when it is added on an item ofLazyColumn, this callback will be called everytime this item became visible after scrolling. It is not what the users of the modifier with this name might have expected. It is recommended to useModifier.onVisibilityChanged()instead and manually track if the layout was visible already previously based on the requirement of the specific use case. Ia7095 b/447601783- Introduced
MeasuredSizeAwareModifierNode, which is needed when you needonRemeasured()callback. Please use this interface directly instead of using more genericLayoutAwareModifierNodewhen you don't need other callbacks. If6fb0
API Changes
- Introducing new API
RangingResultFailureto report ranging session failure and reason, Ranging Initiation failure will include a reason in the existingRangingResultPeerDisconnectedcallback If3715
Bug Fixes
- Fix the code links in documentation for KI_452390376 I9a554 b/454020407
Bug Fixes
- Add js() target to
androidx.datastore. I1f62b b/441511612 - Enforce FIFO ordering in
GuavaDataStoreupdates. I6fd00 b/451491257
Bug Fixes
- Support parsing JPEGs with additional (permitted ) 0xFF bytes before any marker.
Bug Fixes
- Improve compatibility and performance for particular devices.
Bug Fixes
- Update dependency version. Iecd04
API Changes
- Adding
LookAtUserand Billboard modifiers which allows content to always face the user. I49b99 - Adds the ability to set an
InteractionPolicytoSpatialExternalSurfacesandSpatialPanels, allowing the detection of clicks and other 3D input events. Iae155 - Added size and
requiredSizemodifier overload with width, height, and depth as Dp values. I92f79 ParentLayoutParamsModifierinterface now extendsDelegatableSubspaceNode. I1a6d4ApplicationSubspaceis deprecated in favor of the Subspace API.- Subspace API behavior is changed to only provide an application-wide subspace at the recommended pose and scale.
PlanarEmbeddedSubspaceAPI is introduced to provide embedded subspaces in 2D contexts. Id3343
- Added
shouldAutoInvalidateflag toSubspaceModifier.NodeAPI. I93902 - Added
required(Size|Width|Depth|Height)In APIs that allow developers to constrain a@SubspaceComposable's size to a specific range, disregarding the parent's incoming measurement constraints. Ifaa78 - Added
SubspaceModifier.onSizeChangedthat provides a simple, focused callback for developers to react when a@SubspaceComposable's size changes. I994f9 - Removed the Volume API. The
SceneCoreEntityAPI should be used instead of the Volume API. I4162b - Split
SubspaceLayoutModifierNode.requestRelayoutintoinvalidateMeasurement/invalidatePlacement. I14805 - Added the
SpatialGltfModelAPI that allows developers to render glTFs in compose. Icc91f - Introduced the
SpatialGltfModelcomposable API for easily rendering glTFs Iade67
Bug Fixes
New Features
- Create XR implementation and
ComponentOverrideforWideNavigationRailandModalWideNavigationRailI1e86d b/407769444 NavigationSuiteScaffold,ListDetailPaneScaffold, andSupportingPaneScaffoldnow userecommendedContentBoxInFullSpaceto set their default sizes Ic54f1 b/388111668 b/394913962 b/394913962
API Changes
Navigation3now supports treating scenes as shared element object. This means that when the scenes change, it is possible to ensure they have a smooth transition. You can enable this by passing aSharedTransitionScopeto either theNavDisplayor torememberSceneState. I15868
Bug Fixes
- Fixes a
ConcurrentModificationExceptionwhen disposing a childNavigationEventDispatchersuch as those created withrememberNavigationEventDispatcherOwner(). ec68a9 b/454363524
API Changes
- Remove
textAsStringfunction fromTextSelectioninto androidx-main - Rename
clearSelectiontoclearCurrentSelectionI3a318 b/429407597 - Remove
textAsStringfunction fromTextSelectionI1305d b/429407798
Bug Fixes
Important changes since 1.1.0:
Bug Fixes
- If the refresh icon has already been retracted, just remove the arrow completely so that its shadow doesn't show. 5350ff b/186557635
- The refresh icon must reset its position and all of its properties after retracting so that it is in the right state when it is shown again. Previously, the progress arrow was being hidden, but the rest of the state wasn't being reset. 766241 b/190379246
requestDisallowInterceptTouchEvent(boolean)now honors the request like any otherViewGroup. While strongly discouraged, new behavior can be disabled withsetLegacyRequestDisallowInterceptTouchEventEnabled. I968da b/141855018
API Changes
- Changed
startActivitywait to wait for new window. This makes the launch generally synchronous, and allows future versions of Macrobenchmark to configure launch completion detection. I35da6 Id6e6f b/440021797 - Removed api without explicit package name in
UiAutomatorTestScope. I8c285 b/413417205
Bug Fixes
- Moving the default minSdk from API 21 to API 23 Ibdfca b/380448311 b/435705964 b/435705223
Bug Fixes
- Optimize item animation caching during scroll in
TransformingLazyColumn. I62ae8 b/441701460 - The
OpenOnPhoneDialogandConfirmationDialogvariations have been updated to setFLAG_KEEP_SCREEN_ON, so that the animations run to completion and the dialogs self-dismiss as intended. Iad7d4 b/437986990 - Fixed a bug where
Modifier.edgeSwipeToDismisscrashed when used withSwipeDismissableNavHoston API 36 onwards. Ifc13d b/441901722
API Changes
- Added
LocalRippleConfigurationto provide control over ripple appearance I9e0fa b/382336566 - Added new overloads for
AlertDialogwhich use aTransformingLazyColumnto provide advanced control over item scrolling animations. Added layout improvements for larger screens. I862ff b/438468382 - Added transformation parameter to
ButtonGroup, for use with dynamically changing containers likeTransformingLazyColumn. I8743b b/453710565
Bug Fixes
- Fix issue with
AlertDialogtitle and confirm/dismiss buttons appearing multiple times in composition I8e1b0 b/463955367 - Make
TimeTextcode more robust when listening forTimeZoneChanges. I1c276 b/457909952 - Improved performance of
SplitRadioButtonandSplitCheckboxButtonby reducing recomposition counts. I3ddc9 b/455845192
API Changes
- Lower watchfacepush
minSdkto 33. Introduce anisSupportedmethod to check if the functionality is supported on the device, which returns false for sdk<36 (Wear OS 6 / Android 16). This allows clients to set theirminSdklower and conditionally use watchfacepush where supported. I0e8c0 b/438149344
New Features
- This is the initial alpha version of the WebGPU for Android Applications library. It is intended at this stage for developer preview. The API is expected to be finalized over the next few releases.
- There are no updates since
androidx.webkit:webkit:1.15.0-beta01