欢迎参加我们将于 6 月 3 日举行的 #Android11:Beta 版发布会

UiThreadTest

public abstract @interface UiThreadTest
implements Annotation

androidx.test.annotation.UiThreadTest


Methods annotated with this annotation will be executed on the application's UI thread (or main thread).

This annotation will only take effect for Test, Before or After methods.

Summary

Inherited methods

From interface java.lang.annotation.Annotation