https://kotlinlang.org logo
l

Lilly

08/23/2021, 3:20 PM
Can someone please tell me where I can find information about the compose artifacts like ui-tooling or ui-tooling-preview or other sub artifacts which are part of the big ones. Unfortunately they are not advertised under https://developer.android.com/jetpack/androidx/releases/compose I haven't used Compose for a while so I'm a bit outdated
l

Lilly

08/23/2021, 3:40 PM
Thanks. Is this the only option or are there any other places with additional information?
a

Anthony

08/23/2021, 3:42 PM
If you look at the left navigation menu, you should see all the android libraries, and navigating to them will allow you to look at specific components in that package
l

Lilly

08/23/2021, 3:50 PM
Yeah I was aware of the reference page. I currently found this, which has a slightly better overview: https://androidx.tech/artifacts/compose.ui/ui/
n

Nick Anthony

08/23/2021, 4:54 PM
To answer the specific question,
ui-tooling
,
ui-tooling-data
, and
ui-tooling-preview
provide information for Compose dev tools and IDEs. For example, they provide APIs for
@Preview
to work within Android Studio. IIRC, you shouldn't need to depend on them in your app
For module specific questions, the package summary listed are good, also the "Description" on google maven - https://maven.google.com/web/index.html?q=compose.ui#androidx.compose.ui:ui-tooling-preview:1.1.0-alpha02