The Compose for Wear OS team are excited to announce that version 1.1.0 stable has been <https://dev...
j
The Compose for Wear OS team are excited to announce that version 1.1.0 stable has been released. The latest release includes a number of bug fixes and minor UX tidy ups as well as some improvements to the Experimental placeholder UI. Additionally we have released the first 1.2.0 alpha release which adds new functionality for
HierarchicalFocusCoordination
as well as accessibility improvements for the
Picker
- see the release notes for more details.
jetpack compose 6
⌚ 5
πŸš€ 10
πŸŽ‰ 6
🦜 6
a
Just curious about the impl details there: Does this look at
LocalInspectionMode.current
to check if it’s in a
@Preview
, and then do something different to adjust the rendering?
y
I guess a combination of things. ScalingLazyColumn already looks at that so that it renders in the first frame in previews. Sounds like @John Nichol fix is to estimate the layout to avoid glitching, and probably just happened to also fix previews
j
We do look at
LocalInspectionMode.current
to work around some limitations of the
@Preview
handling of
LaunchedEffect
. @yschimke is right that I have fixed up some of the initial autocentering calculations which will hopefully lead to a better developer experience.