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

Colton Idle

02/23/2022, 7:58 PM
Compose Version 1.2.0-alpha04 out today 🦜 Here are some release notes and git commits I found interesting: • "Hooray! Compose animation now supports 'Animator duration scale' setting from Developer Options. (I31c24b/161675988)" • Support async font loading in Text (I77057b/214587005) •
LazyVerticalGrid
 now supports reverseLayout. (I6d7d7b/215572963b/211753558) • Add 
WindowInsets.only()
 method to allow developers to include only dimensions from the WindowInsets. (I14c94b/217768486) • Added 
ComposableTarget
ComposableTargetMarker
 and 
ComposableOpenTarget
 that allows compile time reporting of when a composable function is called targeting an applier it was not designed to use. (I don't understand this one but seems important) • Add support for filter chips (I39a6eb/192585545) (I think this means the little chip components are back! Nice!) • Provided a way to adjust horizontal and vertical paddings in text fields. (OHHHHH YEAHHHH. This question comes up in this slack like once a week. Nice to have an answer to it) • Added 
TextFieldDecorationBox
 and 
OutlinedTextFieldDecorationBox
. Using them together with 
BasicTextField
 will help you build custom text field based on Material Design text fields but with more options for customisation. (same as above. more customization) • Adds Material 3 bottom app bar support (Ic432a) • Some navigation drawer fixes/changes
🙌 13
🦜 3
👍 2
c

Chuck Jazdzewski [G]

02/23/2022, 10:32 PM
Added 
ComposableTarget
ComposableTargetMarker
 and 
ComposableOpenTarget
 that allows compile time reporting of when a composable function is called targeting an applier it was not designed to use. (I don't understand this one but seems important)
These are inferred by the compiler plugin and allow detecting when an
@Composable
function is being used to target an applier that it wasn't designed for. For example, it can be used to prevent a Compose UI composable from being used in the context of a Compose for Web applications or vis versa.
👍 1
🎉 7
4 Views