Android Dev Summit, October 23-24: two days of technical content, directly from the Android team. Sign-up for livestream updates.

TreeIterables.ViewAndDistance

public static class TreeIterables.ViewAndDistance
extends Object

java.lang.Object
   ↳ android.support.test.espresso.util.TreeIterables.ViewAndDistance


Represents the distance a given view is from the root view.

Summary

Public methods

int getDistanceFromRoot()
View getView()

Inherited methods

From class java.lang.Object

Public methods

getDistanceFromRoot

int getDistanceFromRoot ()

Returns
int

getView

View getView ()

Returns
View