Colton Idle
05/24/2023, 8:51 PMAndroidComposeView
(Ie9431) and (Ib2bfa)
• Reduce allocations during lazy list/grids/etc. measurements (Iaf9e2)
• Reduced allocations when applying snapshots (I65c09)
• Removed allocations from spring animations (Ie9431)
• Removed allocation from TextLayout
(I0fd11)
• Removed multiple allocations in pointer velocity tracking (I26bae)
• Reduced allocations (I65c09, d7ea77, 727974, and 445808 )
• Reduced allocations in layout and pointer input management (I5333a)
• Optimize Vector memory usage and first-frames rendering (I2f3c6)
• Removed allocations when drawing lines and points with Canvas (I9f535)
• Improved performance and reduce allocations in Vector APIs (I906cb)
• Added a color parameter to BasicText
to allow efficiently animating or setting text color. (Iffd88, b/246961787)
• Added a color parameter to BasicText
to allow efficiently animating or setting text color. (Iffd88, b/246961787)
• Don't retain snapshot reference in ComposerImpl
(0206f7)
• Quick cancellation of compose CoroutineScopes
(a55362 and bd382f)
• Don’t apply composition twice (f5791b)
• Ensure invalidation for non-initialized derived state values (aa2a92)
• Call onEndChanges
during composition dispose. (62cc8c)
• Fix moving content into a sub-composition (4beb41)
• Fix potential deadlocks (c1a425
• ON_STOP should pause the frame clock broadcasts instead of composition (f4a2d1)
• Fix changed flags for restarted lambdas (8a03e9)
• Execute deactivation callbacks for LayoutNode
before disposing effects (8b0fa4)
• Bunch of api changes, nothing tooooo crazy, but maybe just worth taking a look at this URL https://developer.android.com/jetpack/androidx/releases/compose-ui#1.5.0-beta01
• Implement PlatformDataProvider
to provide heart rate and daily steps. SensorGateway
interface is removed from the public API. (I55b84)
material 1.5.0-beta01
• `DrawerState`'s and `BottomDrawerState`'s offset are not nullable anymore. They instead return Float.NaN
to indicate the absence of the offset. (Ie9855)
• Added an option to pass in a ScrollState
when constructing a DropdownMenu
or an ExposedDropdownMenu
for controlling the vertical scroll state of the displayed menu items. (Idb009, b/185304441)
• Add the support for enabling/disabling the gesture of ModalBottomSheetLayout
so that user could configure this for more featured bottomsheet (I40af0)
• Added a color parameter to BasicText
to allow efficiently animating or setting text color. (Iffd88, b/246961787)
• Renaming the Semantics property isContainer
to isTraversalGroup
(I121f6)
• Fixed the AlertDialog
dismiss action to appear below the confirm action when the actions stacked over each other to fit into the dialog's width. This fix align the implementation with the Material Design spec. (I029de, b/235454277)
material3 notes in the 🧵ModalBottomSheet
.
◦ Scrim for ModalBottomSheet
may now be drawn behind status bar with windowInsets
set to zero
◦ Updated default ModalBottomSheet
functionality to stay outside of system bars including navigation
◦ Status bar inset handling is provided by drag handle in edge-to-edge mode.
◦ BottomSheetDefaults
includes window insets for BottomSheetWindow
. (I31200, b/274872542, b/272973615, b/272334475, b/268432129, b/275849044, b/275486106, b/268433162)
• Deprecate Indicator
and add `Primary`/`SecondaryIndicator` to match the M3 specs. PrimaryIndicator
matches the width of the tab's content whereas SecondaryIndicator
spans the full available width. SecondaryIndicator
is equivalent to the now deprecated Indicator
and can be a direct replacement. (I27604)
• Added an option to pass in a ScrollState
when constructing a DropdownMenu
or an ExposedDropdownMenu
for controlling the vertical scroll state of the displayed menu items. (Ia0734, b/185304441)
• Added an overload for Slider
that is a stateful version of the component. Created SliderState
that holds all of the information for the current active track, the measurements of the components of the Slider
, and the drag and gesture logic. (I124a5)
• Renaming the Semantics property isContainer
to isTraversalGroup
(I121f6)
• Added optimized TextStyle.merge(...)
with full parameter list. (Iad234, b/246961787)
• Made TooltipState
, RichTooltipState
, and PlainTooltipState
public interfaces. Added RichTooltipStateImpl
and PlainTooltipStateImpl
for default states. Added remember*State
functions to obtain these implemented states. Removed TooltipSync
in favor of an TooltipDefault.GlobalMutatorMutex
. (I7813d)
• Updated the DatePickerColors
to include additional customization options for the date picker divider, navigation, and text input fields colors. (I1a685, b/274626815)
• DatePickerState
and the DateRangePickerState
are now public interfaces with default implementations that can be retrieved by the rememberDatePickerState
and rememberDateRangePickerState
. (I71c52)
• Removed the dateValidator
from DatePicker
and DateRangePicker
and introduced a SelectableDates
interface that can be set on the state to control which dates or years are selectable in the UI. (Ic2fc6)
• TimePicker
removed from stable API, further changes are expected in the state API (I3f39a)
• ModalBottomSheet
moved to android only. ModalBottomSheet
is not recommended for desktop use, and the functionality is not actively maintained. (Ib3778)
Bug Fixes
• Fixed the AlertDialog
dismiss action to appear below the confirm action when the actions stacked over each other to fit into the dialog's width. This fix aligns the implementation with the Material Design spec. (I029de, b/235454277)
• Fixed bug in ListItem
using incorrect padding for three-line items. (I6e235)
• ModalBottomSheet
now can display IME keyboard (Idc508, b/262140644, b/268380384, b/272483584)steelahhh
05/25/2023, 6:15 AMAndy Himberger
05/25/2023, 6:53 AMFilip Wiesner
05/25/2023, 7:21 AMscenarios I reported with m3 bottomsheets, still broken in all the casesWhat scenarios are those? Can you link the issues?
Andy Himberger
05/26/2023, 7:14 AMColton Idle
05/26/2023, 12:05 PM