The second Android 11 Developer Preview is now available, test it out and share your feedback.

MainThread

@Target([AnnotationTarget.FUNCTION, AnnotationTarget.CONSTRUCTOR]) annotation expect class MainThread
androidx.compose.MainThread

Summary

Public constructors

Public constructors

<init>

MainThread()