Compose tooling
Android Studio brings a lot of new features specifically for Jetpack Compose. It embraces a code-first approach while improving the developer productivity without having to choose between design interface or code editor only.
To enable a preview of a composable, you need to create another composable, annotated with @Composable
and @Preview
, emitting the composable you’ve created initially:
https://developer.android.com/jetpack/compose/tooling#preview-features