New compose versions released today :tada:. Some i...
# compose
c
New compose versions released today 🎉. Some interesting things from my pov stable • 1.3.0 stable of compose compiler • 1.2.1 stable of most other artifacts • 1.2.1 stable releases are pretty minor but it did fix a memory leak and some layout inspector issues alpha • 1.3.0-alpha03 is avail • New param in
Crossfade
,
animateAsState
and
Animatable
for tooling label • Added
atFraction
function for defining keyframes at a fraction instead of at a specific duration. • Resource Fonts now support setting font variation settings (API 26+). • Variable font support in
DeviceFontFamilyNameFont
• Text fields will now throw more detailed exceptions when the
OffsetMapping
provided by a
VisualTransformation
returns invalid indices. • Introduce experimental APIs to share item provider logic between Lazy layouts. 🤔 • Deprecate
TextInputService.show|hideSoftwareKeyboard
. Please use
SoftwareKeyboardController
instead in app code and
TextInputSession
in IME-management code •
LayoutCoordinates.findRootCoordinates()
is now public • Added experimental API to get the
LayoutCoordinates
in the
PlacementScope
. This lets developers know where the current layout is to place children relative to its position • Paragraph is now expect|actual and defined for Android and Desktop. • Added
@RequiresPermission
to APIs that require granting the
POST_NOTIFICATIONS
permission on SDK 33 and above. material 3 • 1.0.0-alpha16 • Support specifying a custom width on a navigation drawer • Removes
Divider
from
MenuDefaults
and
TabDefaults
🙌 20
🙌🏼 1
K 12
🙌🏽 2
jetpack compose 2
o
atFraction
is 🔝 Finally we can easily change overall animation duration without “moving” all keyframes 😅
s
If anyone plays with variable fonts in 1.3 please send feedback my way - want to bump it to non-experimental in 1.4 and feedback welcome!