I feel like there are a number of items listed as changed in beta02 that were actually done in beta01 – are the release notes correct? In fact the notes for beta01 and beta02 almost look like duplicates for compose-material. E.g. “Added new LocalSoftwareKeyboardController composition local API to replace previous SoftwareKeyboardController interface on TextField” shows up under both
👍 3
t
tylerwilson
03/10/2021, 7:02 PM
Nice! I did hit this issue:
androidx.compose.ui:ui
no longer depends on AppCompat or Fragment. If you are using a ComposeView in your application, and you are using Fragment and/or AppCompat, make sure that you are using AppCompat 1.3+ / Fragment 1.3+ - these versions are needed to correctly set lifecycle and saved state owners required for ComposeView. (I1d6fa, b/161814404)
Just had to bump appcompat[-resources] from 1.2.0 to 1.3.0-beta01 and works
j
jaqxues
03/10/2021, 7:02 PM
Yes, the 'height' and 'width' renames too actually @Zach Klippenstein (he/him) [MOD]
l
Luke
03/10/2021, 7:18 PM
`Switch,
Checkbox
, and`RadioButton` action lambdas are now nullable. Checkbox-in-clickable-row samples updated to use this feature.
There is a backquote missing after "Switch" in the Compose Material release notes.
v
Vsevolod Ganin
03/10/2021, 8:57 PM
Very first time I updated Compose with all dependencies and didn’t have to fix any code and it all worked, yoohoo! 🎉