{% setvar book_path %}/reference/androidx/_book.yaml{% endsetvar %} {% include "_shared/_reference-head-tags.html" %}

androidx.compose.ui.tooling.preview

Annotations

Preview

Preview can be applied to either of the following:

PreviewParameter

PreviewParameter can be applied to any parameter of a @Preview.

Interfaces

PreviewParameterProvider

Interface to be implemented by any provider of values that you want to be injected as @Preview parameters.

Classes

Devices

List with the pre-defined devices available to be used in the preview.

Wallpapers

Wallpapers available to be used in the Preview.