Save the date! Android Dev Summit is coming to Mountain View, CA on November 7-8, 2018.

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