-
- All Implemented Interfaces:
public final class UIExtensionsKt
-
-
Method Summary
Modifier and Type Method Description final static Unit
forEachChild(View $self, Function1<View, Unit> callback)
final static Unit
traverseViewHierarchy(View view, Function1<View, Boolean> callback)
In-order traverse the view-hierarchy specified by a view, considered to be the hierarchy's root. -
-
Method Detail
-
forEachChild
final static Unit forEachChild(View $self, Function1<View, Unit> callback)
-
traverseViewHierarchy
final static Unit traverseViewHierarchy(View view, Function1<View, Boolean> callback)
In-order traverse the view-hierarchy specified by a view, considered to be the hierarchy's root.
- Parameters:
view
- The hierarchy's root-view.callback
- A function to call per each view.
-
-
-
-