GlanceComposable
@Retention(value = AnnotationRetention.BINARY)
@ComposableTargetMarker(description = "Glance Composable")
@Target(allowedTargets = [AnnotationTarget.FILE, AnnotationTarget.FUNCTION, AnnotationTarget.PROPERTY_GETTER, AnnotationTarget.TYPE, AnnotationTarget.TYPE_PARAMETER])
annotation GlanceComposable
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 GlanceComposable
.
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.
Summary
Public constructors |
---|