# RootViewPicker

Artifact: [androidx.test.espresso:espresso-core](https://developer.android.com/jetpack/androidx/releases/test-espresso) [View Source](https://cs.android.com/search?q=file:androidx/test/espresso/base/RootViewPicker.java+class:androidx.test.espresso.base.RootViewPicker)

*** ** * ** ***


```
@RootViewPickerScope
class RootViewPicker : Provider<View!>
```

<br />

*** ** * ** ***

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 functions |
|---|---|
| `https://developer.android.com/reference/android/view/View.html!` | `https://developer.android.com/reference/kotlin/androidx/test/espresso/base/RootViewPicker#get()()` |

## Public functions

### get

```
fun get(): View!
```