Google 致力于为黑人社区推动种族平等。查看具体举措

TreeIterables.ViewAndDistance

public static class TreeIterables.ViewAndDistance
extends Object

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