UiComposable
Class
Common
@ComposableTargetMarker(description = "UI Composable")
@Target(
AnnotationTarget.FILE,
AnnotationTarget.FUNCTION,
AnnotationTarget.PROPERTY_GETTER,
AnnotationTarget.TYPE,
AnnotationTarget.TYPE_PARAMETER,
)
annotation class UiComposable()
An annotation that can be used to mark a composable function as being expected to be use in a
composable function that is also marked or inferred to be marked as a UiComposable
.
Using this annotation explicitly is rarely necessary as the Compose compiler plugin will infer
the necessary equivalent annotations automatically. See
androidx.compose.runtime.ComposableTarget
for details.