이제 두 번째 Android 11 개발자 프리뷰를 사용할 수 있습니다. 테스트해 보고 의견을 공유하세요.

RootViewPicker

public final class RootViewPicker
extends Object implements Provider<View>

java.lang.Object
   ↳ androidx.test.espresso.base.RootViewPicker


Provides the root View of the top-most Window, with which the user can interact. View is guaranteed to be in a stable state - i.e. not pending any updates from the application.

This provider can only be accessed from the main thread.

Summary

Public methods

View get()

Inherited methods

From class java.lang.Object
From interface javax.inject.Provider

Public methods

get

View get ()

Returns
View