lightbulb_outline Please take our October 2018 developer survey. Start survey

RootViewPicker

public final class RootViewPicker
extends Object implements Provider<View>

java.lang.Object
   ↳ android.support.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