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

Colton Idle

06/02/2022, 7:07 AM
Compose Version 1.2.0-beta03 released! 🦜 Lotsa small cool stuff. (this is just my opinion from release notes + commit messages) • Added Experimental Easing Curves for Animations • Added new experimental
IntervalList
and
MutableIntervalList
. It allows to represent some list of values via multiple intervals. It will be useful when you want to define your own dsl similar to the one used by
LazyColumn
where list items can be defined via multiple item/items calls. (I2d05e, b/228580728) • Clarified the documentation for
WindowInsets.ime
to state that
ime
insets are reported as far back as API 23, but only animated on 30+. (Ia7fc0, b/230756508) • Pressing the forward delete key when the cursor is at the end of a text field will no longer crash. • Fix incorrect offset calculation for Modifier.animateItemPlacement() in lazy lists • Fix for stretch overscroll clipping the shadow (OHHHH YEAHHH. This made carousels look kinda bad. 💯 ) • Show selection handles in read-only text field • Fixed a bug where
BottomSheetScaffold
was drawing over the top app bar's shadow.
BottomSheetScaffold
now also takes the sheet's state into account when placing Snackbars: in the collapsed state, Snackbars are placed above the sheet and FAB; in the expanded state, Snackbars are anchored to the sheet's bottom. (thanks Jossi 😄 ) • Fix Material outline text field label measurement • Fix inner text field position of the OutlinedTextField when label is multiline • Clean up invalidated compositions during disposal • Fix derive state read during recomposition ("sometimes causing infitinite recompositions" ?) • Baseline profiles for compose should be derived using benchmarks. • The
Show Layout Bounds
setting will now be applied for composables immediately after toggling it from the quick settings tile, without having to leave and re-enter the activity. (OHHHH YEAH) • Some minor fixes for custom font stuff • Material3 Version 1.0.0-alpha13 released
👍 3
🎉 6
🙏 22
e

ephemient

06/02/2022, 7:09 AM
beta02 to beta03 also requires newer compileSdk 32 (Android 12L)
t

Tash

06/02/2022, 7:13 AM
MutableIntervalList sounds amazing. Didn't really understand what the baseline profiles thing was about 🤔
s

Stylianos Gakis

06/02/2022, 7:39 AM
• Pressing the forward delete key when the cursor is at the end of a text field will no longer crash.
• Fix for stretch overscroll clipping the shadow (OHHHH YEAHHH. This made carousels look kinda bad. 💯 )
• The
Show Layout Bounds
setting will now be applied for composables immediately after toggling it from the quick settings tile, without having to leave and re-enter the activity. (OHHHH YEAH)
Ayyy yisssss
c

Colton Idle

06/02/2022, 9:16 AM
Good catch @ephemient I was already on 32 so I haven't noticed yet. cant wait to be able to upgrade to 33 so i can update my activity deps. 😄
j

Jan Bína

06/02/2022, 9:29 AM
The
Show Layout Bounds
setting will now be applied for composables immediately after toggling it from the quick settings tile, without having to leave and re-enter the activity.
That's how I found out if 3rd party apps already use compose, what now? 😄
s

Stylianos Gakis

06/02/2022, 9:37 AM
^^ The biggest problem 😂
b

Ben Trengrove [G]

06/03/2022, 12:08 AM
@Tash The baseline profiles change is just optimising the built in default profile to improve performance
👍🏼 1
👍 1
t

Tash

06/03/2022, 7:18 PM
Oh I see, that's pretty cool. Thanks Ben!