# compose-wear


03/09/2023, 12:56 PM
Compose for Wear OS 1.2.0-alpha06 was released on Wed 8th March. It includes a new expandable item(s) API to support either a group of expandable items in a ScalingLazyColumn, or an expandable single item such as Text in which the number of lines expands. Also, we have introduced the wear.compose.compose-ui-tooling library, with custom preview annotations (requires Android Studio Giraffe Canary 6 or later) promoted from horologist/compose-tools. Please see the release notes for additional details.
👍 2
👍🏼 1
🎉 9
👍🏻 1
🚀 5
🐼 1

Yingding Wang

03/09/2023, 2:41 PM
Is this expandable item somehow similar to
Copy code
AnimatedVisibility(visible = expanded) {}
and make things more simpler?


03/09/2023, 3:04 PM
Expandable items support the UX pattern of 'Show More' - typically with a button to Show more/Show less, and animation around the expansion to display the additional items. So yes, AnimatedVisibility is one way you might have hand-coded it before and the intention is to make it easier to do it really well. Please take a look at the samples and let us know what you think 🙂