https://kotlinlang.org logo
#compose
Title
# compose
c

Colton Idle

03/10/2023, 3:06 AM
Compose 1.4.0-rc01 artifacts released yesterday! As you can expect, nothing too crazy in an rc release. Here are some interesting release notes compiled by me: • Introduced new low-level
PlatformTextInputAdapter
API for building custom text input implementations that talk directly to platform APIs. (I58df4) • Add support for reverse layout to
LazyStaggeredGrid
. (I3ef4a) • Added an overload of
AndroidView
composable function, which accepts the
onReset
param. It allows View instances to be reused when their node in the composition is discarded and reused in a compatible way. This is especially useful for
LazyRows
and
LazyColumns
of Views. (I3f10d, b/230099236) m3 1.1.0-alpha08 (mostly bottom sheet updates • Added support for
BottomSheetScaffold
and
BottomSheetScaffoldState
. (I063d4) • Rename Collapsed
SheetValue
to
PartiallyExpanded
to more accurately and flexibly depict behavior in this state. (Ia1491) • Fixed an issue where `ModalBottomSheet`'s
HalfExpanded
state was calculated incorrectly and the sheet would appear to be floating. (I45e84, b/268411386) • Add
confirmValueChange
check to scrim tap for
ModalBottomSheet
. (I2311a, b/270425759) • Move semantic
BottomSheet
actions to drag handle. (I158ba) •
ModalBottomSheet
now commands focus on launch, handles back button. (I4d2ab) •
ModalBottomSheet onDismissRequest
is now also handled during nested scroll flings. (I655c5, b/268433166)
🙏 5
🦜 18
💯 2
17 Views