Compose artifact updates two days ago! :tada: Com...
# compose
c
Compose artifact updates two days ago! 🎉 Compiler 1.5.2 • Fix a memory leak caused by switching to the new compiler plugin entrypoint. Version 1.6.0-alpha04, anim, foundation, material2, runtime • Add
SeekableTransitionState
to allow developers to control the progress of a transition. (I8e69d) • Add
ReusableComposition
interface for managing lifecycle and reuse of subcompositions. (I812d1, b/252846775) • Add overloads for
BasicTextField2
that accept an immutable value and a callback to change that value, just like the current
BasicTextField
API. (I3f2b8) • Introduced
viewportSize
in
ScrollState
, a way of knowing the
viewPort
size of the component that uses
ScrollState
after measuring happens. (I8b85a, b/283102682) • Fixed an issue where the prefetching in Pager did not match the behavior in Views. (I93352, b/289088847) •
Modifier.consumeWindowInsets(PaddingValues)
is now stable. â—¦
Deprecated Modifier.consumedWindowInsets
API is now removed. Use
Modifier.consumeWindowInsets
instead. (Id72bb) • Fixed an issue where some components using
Subcomposition
(e.g.
BottomSheetScaffold
) inside a Scaffold inside a
LookaheadScope
were attempting to read their size too early. (If2c5d) • Fixed `DropdownMenu`'s
offset
calculation so x offsets depend solely on the local layout direction, and y offsets will no longer be reversed when the menu is near the bottom of the screen. (Iccc74, b/294103942) • Optimized `BottomSheetScaffold`'s layout internals and fixed a potential issue with
BottomSheetScaffold
inside a
LookaheadLayout
. (Ic0afa) • Added androidx annotations to various graphics APIs to specify
ColorInt
,
FloatRange
,
IntRange
,
Size
and more. (I70487, b/290950582) • Updated
ColorFilter
API to have concrete subclass types for improved inspectability of parameters. (I5fe29) • Introduce wear-tooling-preview library to list valid wear devices that can be used for UI previews (Ib036e) • Created the
FontScalable
interface to handle the font scaling part of the Density interface. (I2cf3f) Version 1.2.0-alpha06, material3 • Fixed `DropdownMenu`'s
offset
calculation so x offsets depend solely on the local layout direction, and y offsets will no longer be reversed when the menu is near the bottom of the screen. (Iccc74, b/294103942)
thank you color 4
🎉 15
a
pretty excited to see
BasicTextField2
progressing!
âž• 3