Wear Compose 1.8.0-alpha02

1.8.0-alpha02
Added 5
  • Added showIndicatorDelayMillis parameter to Modifier.oneHandedGesture to customize the delay before onGestureAvailable is invoked, defaulting to OneHandedGestureDefaults.ShowIndicatorDelayMillis (1 second).
  • Added StatusBarSuppression overload with a content lambda to allow wrapping ScreenScaffold and suppressing the System Status Bar top-down while automatically resetting top content padding to 0.dp.
  • Added a discrete integer steps overload and showMinimumSegment parameter to Material 3 Slider.
  • Added PullToRefresh to Wear Compose Material 3 baseline profile.
  • Added AndroidManifest.xml file for Wear Compose Material3, which configures the com.google.wear.ENABLE_GLOBAL_STATUS_BAR meta-data tag.
Changed 2
Fixed 7
  • Fixed a 1-frame visual glitch where TimeText would momentarily appear when entering composition on an already scrolled-down list.
  • Fixed an issue where ScreenScaffold ScrollIndicator would not reappear on scroll after idling when used without an enclosing AppScaffold.
  • Fixed an issue where PullToRefreshBox indicator remained stuck on screen when onRefresh did not transition isRefreshing to true.
  • Fixed an issue in TransformingLazyColumn ScrollInfoProvider where anchorItemOffset failed to reset to zero when content padding shrank while scrolled.
  • Fixed TransformingLazyColumnState.animateScrollToItem to smoothly center the target item without a final jump when items use transformedHeight.
  • Fixed an issue in ScalingLazyColumn ScrollInfoProvider where anchorItemOffset failed to reset to zero when content padding shrank while scrolled.
  • Fixed TransformingLazyColumn animation issues by disabling animations during raw scroll passes.
Removed 2

1 change to check, marked in the notes below

From Wear Compose

Renamed PullToRefreshDefaults.indicatorShape to IndicatorShape and changed PullToRefreshState to an interface. ( I95b98) Added showIndicatorDelayMillis parameter to Modifier.oneHandedGesture to customize the delay before onGestureAvailable is invoked. Defaults to OneHandedGestureDefaults.ShowIndicatorDelayMillis (1 second). ( I38cc7) Added StatusBarSuppression overload with a content lambda to allow wrapping ScreenScaffold and suppressing the System Status Bar top-down while automatically resetting top content padding to 0.dp. ( I18ff9) Added a discrete integer steps overload and showMinimumSegment parameter to Material 3 Slider. ( Idce23) Removed experimental feature flag WearComposeFoundationFlags.isWarpingCurvedTextEnabled. Warped curved text is now always enabled by default. ( Ifc5c2) Removed experimental feature flag WearComposeMaterial3Flags.isSwipeToRevealDualFlingThresholdEnabled. The dual fling threshold behavior in SwipeToReveal is now always enabled. ( Ia8036) Fixed a 1-frame visual glitch where TimeText would momentarily appear when entering composition on an already scrolled-down list. ( Id13da) Fixed an issue where ScreenScaffold ScrollIndicator would not reappear on scroll after idling when used without an enclosing AppScaffold. ( I445e5) Fixed an issue where PullToRefreshBox indicator remained stuck on screen when onRefresh did not transition isRefreshing to true. ( I097e2) Added PullToRefresh to Wear Compose Material 3 baseline profile. ( Ib8e13) Update PredictiveBackScene to switch LocalScreenIsActive.current to the target screen on navigation instantly. ( I3904b) Fixed an issue in TransformingLazyColumn ScrollInfoProvider where anchorItemOffset failed to reset to zero when content padding shrank while scrolled. ( I779a0) Fixed TransformingLazyColumnState.animateScrollToItem to smoothly center the target item without a final jump when items use transformedHeight. ( I429c8) Fixed an issue in ScalingLazyColumn ScrollInfoProvider where anchorItemOffset failed to reset to zero when content padding shrank while scrolled. ( Ie8b06) Fixed TransformingLazyColumn animation issues by disabling animations during raw scroll passes. ( Iacfb4) Added AndroidManifest.xml file for Wear Compose Material3, which configures the com.google.wear.ENABLE_GLOBAL_STATUS_BAR meta-data tag( Ic8804) renamed · inferred signature changed · inferred removed · inferred behavior changed · inferred

View original

Upgraded? How did it go?

Discussion