# ActiveRootLister

`public interface ActiveRootLister`
``

android.support.test.espresso.base.ActiveRootLister

Provides access to all root views in an application.

## Summary

### Public methods
`abstract List<Root>` | `listActiveRoots()` Lists the active roots in an application at this moment.

## Public methods

### listActiveRoots

    List<Root> listActiveRoots ()

Lists the active roots in an application at this moment.

Returns
`List<Root>` | a list of all the active roots in the application.

Throws
`IllegalStateException` | if invoked from a thread besides the main thread.

- ## Annotations

  - Default
  - MainThread

- ## Interfaces

  - ActiveRootLister

- ## Classes

  - BaseLayerModule
  - BaseLayerModule.FailureHandlerHolder
  - DefaultFailureHandler
  - IdlingResourceRegistry
  - RootViewPicker
  - UiControllerModule
  - ViewFinderImpl