Google is committed to advancing racial equity for Black communities. See how.

Direct

@Target([AnnotationTarget.FUNCTION]) annotation class Direct
androidx.compose.Direct

When applied to a composable function Direct will prevent code from being generated which allow this function's execution to be skipped or restarted. This may be desirable for small functions which just directly call another composable function and have very little machinery in them directly.

Summary

Public constructors

When applied to a composable function Direct will prevent code from being generated which allow this function's execution to be skipped or restarted.

Public constructors

<init>

Direct()

When applied to a composable function Direct will prevent code from being generated which allow this function's execution to be skipped or restarted. This may be desirable for small functions which just directly call another composable function and have very little machinery in them directly.