Compose for Wear OS Alpha 21 is out. Release notes can be found here and there are a lot of changes with some new APIs for curved modifiers as well as a lot of API tidy up as we prepare for API freeze and Beta release. More specifics in the thread.
π¦ 2
ππ» 1
π 3
π¦ 5
π 7
π 1
John Nichol
04/20/2022, 6:17 PM
One API change we want to bring your attention to is a change for the ScalingLazyColumn autoCenter: Boolean to acutoCenter: AutoCenteringParams which enabled developers to select which list item and offset the autoCentering is enabled for. This defaults to itemIndex = 1. e.g the 2nd item in the list to cater for what we see as the major case where the zero'th list item is a ListHeader
t
Tgo1014
04/20/2022, 6:29 PM
Lots of effort for compose on wear, really cool to see. I should take a look on how to make a simpler version of my app into watches π
ππΌ 1
π 1
k
Kseniia Shumelchyk
04/20/2022, 9:04 PM
@Tgo1014 what kind of app do you have?
t
Tgo1014
04/21/2022, 1:24 AM
@Kseniia Shumelchyk Iβve an app to see if a movie has post credit scenes, so I guess would be quite useful to see it directly from the watch inside the cinema π